diff --git a/switch-desktop/src/config/mod.rs b/switch-desktop/src/config/mod.rs index f91ab37..e5317d1 100644 --- a/switch-desktop/src/config/mod.rs +++ b/switch-desktop/src/config/mod.rs @@ -420,7 +420,7 @@ pub fn get_home() -> PathBuf { pub fn get_runtime_data_path() -> PathBuf { let home = get_home(); - home.join("config") + home.join(".data") } fn read_runtime_data() -> io::Result { diff --git a/switch-desktop/src/windows/mod.rs b/switch-desktop/src/windows/mod.rs index b4297e2..6dc6194 100644 --- a/switch-desktop/src/windows/mod.rs +++ b/switch-desktop/src/windows/mod.rs @@ -171,6 +171,7 @@ pub async fn main0(base_args: BaseArgs) { } Err(e) => { log::error!("{:?}", e); + println!("停止失败:{}",e); } } pause();