From 4549d2907dc11c4626375a31176f4cac12629276 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 18 Aug 2026 17:27:53 +0800 Subject: [PATCH] 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. --- src-tauri/capabilities/default.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 94fe966bd..7ea5674fe 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -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" ]