From 6fe90dea5bc90e6ba54a0ebded380aa8e653bf11 Mon Sep 17 00:00:00 2001 From: lencx Date: Sat, 24 Dec 2022 20:04:24 +0800 Subject: [PATCH] fix: path not allowed on the configured scope (#64) --- src-tauri/tauri.conf.json | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index cac5794..591e440 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -22,9 +22,7 @@ "fs": { "all": true, "scope": [ - "$HOME/.chatgpt/*", - "$HOME/.chatgpt/**", - "$HOME/.chatgpt/cache_model/*" + "*" ] } }, @@ -79,18 +77,6 @@ "https://lencx.github.io/ChatGPT/install.json" ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEIxMjY4OUI5MTVFNjBEMDUKUldRRkRlWVZ1WWttc1NGWEE0RFNSb0RqdnhsekRJZTkwK2hVLzhBZTZnaHExSEZ1ZEdzWkpXTHkK" - }, - "windows": [ - { - "label": "main", - "url": "index.html", - "title": "ChatGPT", - "visible": false, - "width": 800, - "height": 600, - "minWidth": 800, - "minHeight": 600 - } - ] + } } } \ No newline at end of file