mirror of
https://github.com/onyx-dot-app/onyx.git
synced 2026-10-19 01:50:51 -05:00
fix(desktop): grant webview ACL permissions for shell-open and titlebar drag (#12719)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
265e03e08f
commit
98d77b0799
1 file changed
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "../gen/schemas/desktop-schema.json",
|
||||
"identifier": "main",
|
||||
"description": "Grants the webview pages the plugin commands they invoke: shell open for target=_blank links (the shell plugin's injected click handler) and window dragging / double-click maximize for the injected titlebar drag region. The server URL is user-configurable (self-hosted deployments), so the remote grant must cover any origin the webview may load.",
|
||||
"windows": ["*"],
|
||||
"local": true,
|
||||
"remote": {
|
||||
"urls": ["http://*:*", "https://*:*"]
|
||||
},
|
||||
"permissions": [
|
||||
"core:window:allow-start-dragging",
|
||||
"core:window:allow-internal-toggle-maximize",
|
||||
"shell:default"
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user