Files
Jason 4549d2907d fix(capabilities): grant process:allow-exit so exit buttons can quit the app
The db-version-too-new recovery screen and the config-load-failure path
both call exit() from @tauri-apps/plugin-process, but the default
capability only granted process:allow-restart. The IPC call was denied
and silently swallowed by void/await, leaving the app impossible to
quit from those screens.
2026-08-18 17:27:53 +08:00

23 lines
607 B
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "enables the default permissions",
"windows": ["main"],
"permissions": [
"core:default",
"opener:default",
"updater:default",
"log:default",
"core:window:allow-set-skip-taskbar",
"core:window:allow-start-dragging",
"core:window:allow-minimize",
"core:window:allow-toggle-maximize",
"core:window:allow-is-maximized",
"core:window:allow-close",
"core:window:allow-set-decorations",
"process:allow-exit",
"process:allow-restart",
"dialog:default"
]
}