scrcpy-mask/src-tauri/capabilities/default.json

50 lines
1.2 KiB
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"permissions": [
"event:default",
"window:default",
"window:allow-set-position",
"window:allow-set-size",
"window:allow-maximize",
"window:allow-minimize",
"window:allow-close",
"window:allow-is-maximizable",
"window:allow-start-dragging",
"window:allow-unmaximize",
"window:allow-set-cursor-position",
"window:allow-set-cursor-visible",
"store:default",
"store:allow-get",
"store:allow-set",
"store:allow-save",
"store:allow-load",
"store:allow-clear",
"store:allow-entries",
"store:allow-delete",
"process:default",
"process:allow-restart",
"webview:default",
"webview:allow-internal-toggle-devtools",
"shell:default",
"shell:allow-open",
"http:default",
{
"identifier": "http:default",
"allow": [
{
"url": "https://api.github.com/repos/AkiChase/scrcpy-mask/*"
}
]
},
"http:allow-fetch",
"app:default",
"app:allow-version",
"clipboard-manager:default",
"clipboard-manager:allow-read-text",
"clipboard-manager:allow-write-text"
]
}