From bd3d8f647c1e83dfa1a77016599f1bed4eb87bf6 Mon Sep 17 00:00:00 2001 From: VirtualHotBar <96966978+VirtualHotBar@users.noreply.github.com> Date: Thu, 26 Mar 2026 11:54:26 +0800 Subject: [PATCH] fix: expand fs:scope to allow broader filesystem access for mount operations Added \/**, \/** and ** to fs:scope to ensure mount operations on Linux/macOS can access paths outside home directory (e.g., /mnt, /media). --- src-tauri/capabilities/migrated.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/capabilities/migrated.json b/src-tauri/capabilities/migrated.json index fee334c..0dbb675 100644 --- a/src-tauri/capabilities/migrated.json +++ b/src-tauri/capabilities/migrated.json @@ -22,7 +22,7 @@ "fs:allow-exists", { "identifier": "fs:scope", - "allow": ["$RESOURCE/**", "binaries/**", "$HOME/**", "$APPDATA/**", "$CONFIG/**", "$DATA/**", "$DOWNLOAD/**", "$DESKTOP/**", "$DOCUMENT/**"] + "allow": ["$RESOURCE/**", "binaries/**", "$HOME/**", "$APPDATA/**", "$CONFIG/**", "$DATA/**", "$DOWNLOAD/**", "$DESKTOP/**", "$DOCUMENT/**", "$TEMP/**", "$TMP/**", "**"] }, "core:window:allow-create", "core:window:allow-center",