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).
This commit is contained in:
VirtualHotBar
2026-03-26 11:54:26 +08:00
parent 42d5b1e56c
commit bd3d8f647c

View File

@@ -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",