diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 1ec766669..a5eaf2876 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -49,6 +49,11 @@ "fs:allow-write-file", "fs:read-all", "fs:allow-data-read", - "fs:allow-data-read-recursive" + "fs:allow-data-read-recursive", + "fs:allow-write-text-file", + { + "identifier": "fs:scope", + "allow": ["$APPDATA/**", "$RESOURCE/../**", "**"] + } ] }