opencode_offline/packages/desktop/src-tauri/tauri.conf.json

43 lines
1.0 KiB
JSON
Raw Normal View History

2025-11-22 13:15:01 +08:00
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "OpenCode Dev",
"identifier": "ai.opencode.desktop.dev",
"mainBinaryName": "OpenCode",
"version": "../package.json",
2025-11-22 13:15:01 +08:00
"build": {
"beforeDevCommand": "bun run dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "bun run build",
"frontendDist": "../dist"
},
"app": {
"withGlobalTauri": true,
"security": {
"csp": null
},
"macOSPrivateApi": true
2025-11-22 13:15:01 +08:00
},
"bundle": {
"icon": [
"icons/dev/32x32.png",
"icons/dev/128x128.png",
"icons/dev/128x128@2x.png",
"icons/dev/icon.icns",
"icons/dev/icon.ico"
],
2025-11-22 13:15:01 +08:00
"active": true,
"targets": ["deb", "rpm", "dmg", "nsis", "app", "appimage"],
2025-12-15 12:17:41 +08:00
"externalBin": ["sidecars/opencode-cli"],
"macOS": {
"entitlements": "./entitlements.plist"
2025-12-17 23:40:52 +08:00
},
"windows": {
"nsis": {
2025-12-18 00:02:16 +08:00
"installerIcon": "icons/dev/icon.ico",
"headerImage": "assets/nsis-header.bmp",
"sidebarImage": "assets/nsis-sidebar.bmp"
2025-12-17 23:40:52 +08:00
}
}
2025-11-22 13:15:01 +08:00
}
}