diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 4cdbf49..b5a177b 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -1,10 +1,19 @@ { "$schema": "../gen/schemas/desktop-schema.json", "identifier": "default", - "description": "Capability for the main window", + "description": "Capability for the main control window", "windows": ["main"], "permissions": [ "core:default", - "opener:default" + "core:webview:allow-create-webview-window", + "core:window:allow-set-always-on-top", + "core:window:allow-set-ignore-cursor-events", + "core:window:allow-close", + "core:window:allow-current-monitor", + "opener:default", + "store:default", + "global-shortcut:allow-register", + "global-shortcut:allow-unregister", + "global-shortcut:allow-is-registered" ] } diff --git a/src-tauri/capabilities/overlay.json b/src-tauri/capabilities/overlay.json new file mode 100644 index 0000000..a8e3123 --- /dev/null +++ b/src-tauri/capabilities/overlay.json @@ -0,0 +1,7 @@ +{ + "$schema": "../gen/schemas/desktop-schema.json", + "identifier": "overlay", + "description": "Locked-down capability for the overlay window — pages loaded here cannot call Tauri APIs", + "windows": ["overlay"], + "permissions": [] +}