mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-25 17:22:27 +08:00
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.
This commit is contained in:
1 parent
0b5da51016
commit
4549d2907d
1 file changed
+1
@@ -15,6 +15,7 @@
|
||||
"core:window:allow-is-maximized",
|
||||
"core:window:allow-close",
|
||||
"core:window:allow-set-decorations",
|
||||
"process:allow-exit",
|
||||
"process:allow-restart",
|
||||
"dialog:default"
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user