tauri.conf.json 853 B

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "$schema": "https://schema.tauri.app/config/2",
  3. "productName": "OpenCode Dev",
  4. "identifier": "ai.opencode.desktop.dev",
  5. "mainBinaryName": "OpenCode",
  6. "version": "../package.json",
  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. "icon": [
  22. "icons/dev/32x32.png",
  23. "icons/dev/128x128.png",
  24. "icons/dev/[email protected]",
  25. "icons/dev/icon.icns",
  26. "icons/dev/icon.ico"
  27. ],
  28. "active": true,
  29. "targets": ["deb", "rpm", "dmg", "nsis", "app"],
  30. "externalBin": ["sidecars/opencode-cli"],
  31. "macOS": {
  32. "entitlements": "./entitlements.plist"
  33. }
  34. }
  35. }