tauri.conf.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "$schema": "https://schema.tauri.app/config/2",
  3. "productName": "OpenCode",
  4. "mainBinaryName": "OpenCode",
  5. "version": "../package.json",
  6. "identifier": "ai.opencode.desktop",
  7. "build": {
  8. "beforeDevCommand": "bun run dev",
  9. "devUrl": "http://localhost:1420",
  10. "beforeBuildCommand": "bun run build",
  11. "frontendDist": "../dist"
  12. },
  13. "app": {
  14. "withGlobalTauri": true,
  15. "security": {
  16. "csp": null
  17. },
  18. "macOSPrivateApi": true
  19. },
  20. "bundle": {
  21. "active": true,
  22. "targets": ["deb", "rpm", "dmg", "nsis", "app"],
  23. "icon": ["icons/32x32.png", "icons/128x128.png", "icons/[email protected]", "icons/icon.icns", "icons/icon.ico"],
  24. "externalBin": ["sidecars/opencode-cli"],
  25. "createUpdaterArtifacts": true,
  26. "macOS": {
  27. "entitlements": "./entitlements.plist"
  28. }
  29. },
  30. "plugins": {
  31. "updater": {
  32. "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEYwMDM5Nzg5OUMzOUExMDQKUldRRW9UbWNpWmNEOENYT01CV0lhOXR1UFhpaXJsK1Z3aU9lZnNtNzE0TDROWVMwVW9XQnFOelkK",
  33. "endpoints": ["https://github.com/sst/opencode/releases/latest/download/latest.json"]
  34. }
  35. }
  36. }