tauri.conf.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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", "appimage"],
  30. "externalBin": ["sidecars/opencode-cli"],
  31. "macOS": {
  32. "entitlements": "./entitlements.plist"
  33. },
  34. "windows": {
  35. "nsis": {
  36. "installerIcon": "icons/dev/icon.ico",
  37. "headerImage": "assets/nsis-header.bmp",
  38. "sidebarImage": "assets/nsis-sidebar.bmp"
  39. }
  40. }
  41. }
  42. }