summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/src-tauri
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-02-05 13:55:49 -0600
committerGitHub <[email protected]>2026-02-05 19:55:49 +0000
commitb738d88ec4c49efdf37ecf09058e70f1c3574b6b (patch)
tree524219619c6e5ce0159679073183e2c3930c4ce6 /packages/desktop/src-tauri
parent83646e0366c47a3bccb5135d40628176a6776f33 (diff)
downloadopencode-b738d88ec4c49efdf37ecf09058e70f1c3574b6b.tar.gz
opencode-b738d88ec4c49efdf37ecf09058e70f1c3574b6b.zip
feat(app): open in <app> button (#12322)
Diffstat (limited to 'packages/desktop/src-tauri')
-rw-r--r--packages/desktop/src-tauri/capabilities/default.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/desktop/src-tauri/capabilities/default.json b/packages/desktop/src-tauri/capabilities/default.json
index 66f068af8..e895cdf78 100644
--- a/packages/desktop/src-tauri/capabilities/default.json
+++ b/packages/desktop/src-tauri/capabilities/default.json
@@ -6,6 +6,19 @@
"permissions": [
"core:default",
"opener:default",
+ {
+ "identifier": "opener:allow-open-path",
+ "allow": [
+ { "path": "**/*" },
+ { "path": "/**/*" },
+ { "path": "**/.*/*/**" },
+ { "path": "/**/.*/*/**" },
+ { "path": "**/*", "app": true },
+ { "path": "/**/*", "app": true },
+ { "path": "**/.*/*/**", "app": true },
+ { "path": "/**/.*/*/**", "app": true }
+ ]
+ },
"deep-link:default",
"core:window:allow-start-dragging",
"core:window:allow-set-theme",