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:
Jason committed 2026-08-18 17:27:53 +08:00
1 parent 0b5da51016
commit 4549d2907d
1 file changed
+1
+1
View File
@@ -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"
]