fix: tauri updater

This commit is contained in:
lencx
2023-01-04 21:44:23 +08:00
parent 65bb811f15
commit 3dd49cd5d3
4 changed files with 6 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ use std::{
};
use tauri::{utils::config::Config, Manager, AppHandle, Wry};
use tauri::updater::UpdateResponse;
pub fn chat_root() -> PathBuf {
tauri::api::path::home_dir().unwrap().join(".chatgpt")
}

View File

@@ -67,7 +67,7 @@
"csp": null
},
"updater": {
"active": false,
"active": true,
"dialog": true,
"endpoints": [
"https://lencx.github.io/ChatGPT/install.json"