fix: windows can't start

This commit is contained in:
lencx
2022-12-28 03:33:40 +08:00
parent 631dee95a7
commit 478049e23e
8 changed files with 188 additions and 176 deletions

View File

@@ -8,7 +8,7 @@ use std::{
path::{Path, PathBuf},
process::Command,
};
use tauri::{Manager, utils::config::Config};
use tauri::{utils::config::Config, Manager};
pub fn chat_root() -> PathBuf {
tauri::api::path::home_dir().unwrap().join(".chatgpt")