Files
tauri/examples/api/src-tauri/capabilities/run-app.json
Tony cee0bfcd6c feat(core): make all tray and menu permissions enable by default (#10092)
* Make all tray and menu permissions on by default

* Update example capabilities

* Add change file
2024-06-24 19:50:06 +03:00

72 lines
1.9 KiB
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "run-app",
"description": "permissions to run the app",
"windows": [
"main",
"main-*"
],
"permissions": [
{
"identifier": "allow-log-operation",
"allow": [
{
"event": "tauri-click"
}
]
},
"allow-perform-request",
"app-menu:default",
"sample:allow-ping-scoped",
"sample:global-scope",
"path:default",
"event:default",
"window:default",
"app:default",
"resources:default",
"image:default",
"menu:default",
"tray:default",
"app:allow-app-hide",
"app:allow-app-show",
"window:allow-center",
"window:allow-request-user-attention",
"window:allow-set-resizable",
"window:allow-set-maximizable",
"window:allow-set-minimizable",
"window:allow-set-closable",
"window:allow-set-title",
"window:allow-maximize",
"window:allow-unmaximize",
"window:allow-minimize",
"window:allow-unminimize",
"window:allow-show",
"window:allow-hide",
"window:allow-close",
"window:allow-set-decorations",
"window:allow-set-shadow",
"window:allow-set-effects",
"window:allow-set-always-on-top",
"window:allow-set-always-on-bottom",
"window:allow-set-content-protected",
"window:allow-set-size",
"window:allow-set-min-size",
"window:allow-set-max-size",
"window:allow-set-position",
"window:allow-set-fullscreen",
"window:allow-set-focus",
"window:allow-set-skip-taskbar",
"window:allow-set-cursor-grab",
"window:allow-set-cursor-visible",
"window:allow-set-cursor-icon",
"window:allow-set-cursor-position",
"window:allow-set-ignore-cursor-events",
"window:allow-start-dragging",
"window:allow-set-progress-bar",
"window:allow-set-icon",
"window:allow-toggle-maximize",
"webview:allow-create-webview-window",
"webview:allow-print"
]
}