From dc88ea91826ffb4bfd461a9423c01309424b2ef4 Mon Sep 17 00:00:00 2001 From: lencx Date: Fri, 23 Dec 2022 22:51:23 +0800 Subject: [PATCH] fix: path not allowed on the configured scope (#64) --- README-ZH_CN.md | 6 +++--- README.md | 6 +++--- UPDATE_LOG.md | 2 +- src-tauri/tauri.conf.json | 4 +++- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README-ZH_CN.md b/README-ZH_CN.md index 19e523e..9706601 100644 --- a/README-ZH_CN.md +++ b/README-ZH_CN.md @@ -22,9 +22,9 @@ **最新版:** -- `Mac`: [ChatGPT_0.6.3_x64.dmg](https://github.com/lencx/ChatGPT/releases/download/v0.6.3/ChatGPT_0.6.3_x64.dmg) -- `Linux`: [chat-gpt_0.6.3_amd64.deb](https://github.com/lencx/ChatGPT/releases/download/v0.6.3/chat-gpt_0.6.3_amd64.deb) -- `Windows`: [ChatGPT_0.6.3_x64_en-US.msi](https://github.com/lencx/ChatGPT/releases/download/v0.6.3/ChatGPT_0.6.3_x64_en-US.msi) +- `Mac`: [ChatGPT_0.6.4_x64.dmg](https://github.com/lencx/ChatGPT/releases/download/v0.6.4/ChatGPT_0.6.4_x64.dmg) +- `Linux`: [chat-gpt_0.6.4_amd64.deb](https://github.com/lencx/ChatGPT/releases/download/v0.6.4/chat-gpt_0.6.4_amd64.deb) +- `Windows`: [ChatGPT_0.6.4_x64_en-US.msi](https://github.com/lencx/ChatGPT/releases/download/v0.6.4/ChatGPT_0.6.4_x64_en-US.msi) [其他版本...](https://github.com/lencx/ChatGPT/releases) diff --git a/README.md b/README.md index 74a9526..3e6e2ec 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ **Latest:** -- `Mac`: [ChatGPT_0.6.3_x64.dmg](https://github.com/lencx/ChatGPT/releases/download/v0.6.3/ChatGPT_0.6.3_x64.dmg) -- `Linux`: [chat-gpt_0.6.3_amd64.deb](https://github.com/lencx/ChatGPT/releases/download/v0.6.3/chat-gpt_0.6.3_amd64.deb) -- `Windows`: [ChatGPT_0.6.3_x64_en-US.msi](https://github.com/lencx/ChatGPT/releases/download/v0.6.3/ChatGPT_0.6.3_x64_en-US.msi) +- `Mac`: [ChatGPT_0.6.4_x64.dmg](https://github.com/lencx/ChatGPT/releases/download/v0.6.4/ChatGPT_0.6.4_x64.dmg) +- `Linux`: [chat-gpt_0.6.4_amd64.deb](https://github.com/lencx/ChatGPT/releases/download/v0.6.4/chat-gpt_0.6.4_amd64.deb) +- `Windows`: [ChatGPT_0.6.4_x64_en-US.msi](https://github.com/lencx/ChatGPT/releases/download/v0.6.4/ChatGPT_0.6.4_x64_en-US.msi) [Other version...](https://github.com/lencx/ChatGPT/releases) diff --git a/UPDATE_LOG.md b/UPDATE_LOG.md index 9f5cc61..d07b451 100644 --- a/UPDATE_LOG.md +++ b/UPDATE_LOG.md @@ -1,6 +1,6 @@ # UPDATE LOG -## v0.6.3 +## v0.6.4 fix: path not allowed on the configured scope diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 0341f72..5924a73 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -22,7 +22,9 @@ "fs": { "all": true, "scope": [ - "**" + "$HOME/.chatgpt/*", + "$HOME/.chatgpt/**", + "$HOME/.chatgpt/cache_model/*" ] } },