Files
coco-app/src-tauri/capabilities/default.json
BiggerRain fd86a5ef4a feat: add window webview & add Footer & change style (#2)
* chore: add Footer

* feat: add winfow webview
2024-10-30 20:57:03 +08:00

32 lines
911 B
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"permissions": [
"core:event:allow-listen",
"core:window:default",
"core:window:allow-start-dragging",
"core:webview:allow-create-webview",
"core:window:allow-show",
"core:webview:allow-create-webview-window",
"core:webview:allow-webview-close",
"core:window:allow-close",
"core:window:allow-hide",
"core:webview:allow-set-webview-size",
"core:window:allow-set-size",
"core:default",
"shell:allow-open",
"http:default",
"http:allow-fetch",
"http:allow-fetch-cancel",
"http:allow-fetch-read-body",
"http:allow-fetch-send",
{
"identifier": "http:default",
"allow": [{ "url": "https://*.tauri.app" }],
"deny": [{ "url": "https://private.tauri.app" }]
}
]
}