tauri.prod.conf.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "$schema": "https://schema.tauri.app/config/2",
  3. "productName": "OpenCode",
  4. "identifier": "ai.opencode.desktop",
  5. "app": {
  6. "windows": [
  7. {
  8. "label": "main",
  9. "create": false,
  10. "title": "OpenCode",
  11. "url": "/",
  12. "decorations": true,
  13. "dragDropEnabled": false,
  14. "zoomHotkeysEnabled": true,
  15. "titleBarStyle": "Overlay",
  16. "hiddenTitle": true,
  17. "trafficLightPosition": { "x": 12.0, "y": 18.0 }
  18. }
  19. ],
  20. "withGlobalTauri": true,
  21. "security": {
  22. "csp": null
  23. },
  24. "macOSPrivateApi": true
  25. },
  26. "bundle": {
  27. "createUpdaterArtifacts": true,
  28. "icon": [
  29. "icons/prod/32x32.png",
  30. "icons/prod/128x128.png",
  31. "icons/prod/[email protected]",
  32. "icons/prod/icon.icns",
  33. "icons/prod/icon.ico"
  34. ],
  35. "windows": {
  36. "nsis": {
  37. "installerIcon": "icons/prod/icon.ico"
  38. }
  39. },
  40. "linux": {
  41. "deb": {
  42. "files": {
  43. "/usr/share/metainfo/ai.opencode.opencode.metainfo.xml": "release/appstream.metainfo.xml"
  44. }
  45. }
  46. }
  47. },
  48. "plugins": {
  49. "updater": {
  50. "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEYwMDM5Nzg5OUMzOUExMDQKUldRRW9UbWNpWmNEOENYT01CV0lhOXR1UFhpaXJsK1Z3aU9lZnNtNzE0TDROWVMwVW9XQnFOelkK",
  51. "endpoints": ["https://github.com/anomalyco/opencode/releases/latest/download/latest.json"]
  52. }
  53. }
  54. }