From b07bda2663f730d2b16db920bf5afe96a9659054 Mon Sep 17 00:00:00 2001 From: 4gray Date: Sun, 9 Mar 2025 19:02:02 +0100 Subject: [PATCH] chore: enhance file system capabilities by adding read permissions --- src-tauri/capabilities/default.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 1530f393e..1ec766669 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -46,6 +46,9 @@ "core:webview:allow-create-webview-window", "sql:default", "sql:allow-execute", - "fs:allow-write-file" + "fs:allow-write-file", + "fs:read-all", + "fs:allow-data-read", + "fs:allow-data-read-recursive" ] }