summaryrefslogtreecommitdiffhomepage
path: root/packages/tauri/src-tauri/tauri.conf.json
diff options
context:
space:
mode:
authorBrendan Allan <[email protected]>2025-12-06 04:39:49 +0800
committerGitHub <[email protected]>2025-12-05 14:39:49 -0600
commitcd6bfb3f694675246a67dc0466d7603a37833586 (patch)
tree9d5a4ae51553fbebd748428f1af4549c9adf8f16 /packages/tauri/src-tauri/tauri.conf.json
parentba417d80b1174d0e289d8fc91c77a8f6a0d592f4 (diff)
downloadopencode-cd6bfb3f694675246a67dc0466d7603a37833586.tar.gz
opencode-cd6bfb3f694675246a67dc0466d7603a37833586.zip
OpenCode Desktop app (#5044)
Co-authored-by: Adam <[email protected]>
Diffstat (limited to 'packages/tauri/src-tauri/tauri.conf.json')
-rw-r--r--packages/tauri/src-tauri/tauri.conf.json30
1 files changed, 16 insertions, 14 deletions
diff --git a/packages/tauri/src-tauri/tauri.conf.json b/packages/tauri/src-tauri/tauri.conf.json
index 754569c6a..fcb6c03de 100644
--- a/packages/tauri/src-tauri/tauri.conf.json
+++ b/packages/tauri/src-tauri/tauri.conf.json
@@ -1,8 +1,9 @@
{
"$schema": "https://schema.tauri.app/config/2",
- "productName": "opencode",
- "version": "0.1.0",
- "identifier": "ai.opencode",
+ "productName": "OpenCode",
+ "mainBinaryName": "OpenCode Desktop",
+ "version": "../package.json",
+ "identifier": "ai.opencode.desktop",
"build": {
"beforeDevCommand": "bun run dev",
"devUrl": "http://localhost:1420",
@@ -11,21 +12,22 @@
},
"app": {
"withGlobalTauri": true,
- "windows": [
- {
- "title": "opencode",
- "width": 800,
- "height": 600,
- "url": "https://desktop.dev.opencode.ai"
- }
- ],
"security": {
"csp": null
- }
+ },
+ "macOSPrivateApi": true
},
"bundle": {
"active": true,
- "targets": "all",
- "icon": ["icons/32x32.png", "icons/128x128.png", "icons/[email protected]", "icons/icon.icns", "icons/icon.ico"]
+ "targets": ["deb", "rpm", "appimage", "dmg", "app", "nsis"],
+ "icon": ["icons/32x32.png", "icons/128x128.png", "icons/[email protected]", "icons/icon.icns", "icons/icon.ico"],
+ "externalBin": ["sidecars/opencode"],
+ "createUpdaterArtifacts": true
+ },
+ "plugins": {
+ "updater": {
+ "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDgxNjQ5OUExQjg2MEI3ODAKUldTQXQyQzRvWmxrZ2VOU09ta1IwSVpKSlQ1ZjJsRVh3cmRZcEZKUlF2MzBpTHcwWU82WWRLOXIK",
+ "endpoints": ["https://github.com/brendonovich/opencode/releases/latest/download/latest.json"]
+ }
}
}