From 9e700b3094a8786bfd9acae3d537190b5289386d Mon Sep 17 00:00:00 2001 From: lubeilin <1791778603@qq.com> Date: Mon, 29 May 2023 12:46:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E6=95=B0=E6=8D=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- switch-desktop/src/config/mod.rs | 2 +- switch-desktop/src/windows/mod.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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();