From 90ce030edfd523c088f6d56d18b41ff9c173ba8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=94=9F=E6=9D=82=E7=89=A9=E6=88=BF?= <88823709+TC999@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:31:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B5=8B=E8=AF=95=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- folders_description.yaml | 26 -------------------------- src/ui.rs | 1 + 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 folders_description.yaml diff --git a/folders_description.yaml b/folders_description.yaml deleted file mode 100644 index 0405ce3..0000000 --- a/folders_description.yaml +++ /dev/null @@ -1,26 +0,0 @@ -Roaming: - # 示例:文件夹名: "描述" - Code: "VSCode" - pip: "pip 网络配置文件" - Mozilla: "Firefox" - #firefox: "Mozilla Firefox 浏览器配置文件" - clash_win: "Clash for Windows 配置文件" - RustDesk: "RustDesk 配置文件" - VMWare: "VMWare 配置文件" - Motrix: "Motrix 配置文件" - zen: "Zen 网络配置" -Local: - # 示例:文件夹名: "描述" - BCUT: "必剪数据" - Temp: "系统临时文件" - myapp: "自定义应用配置文件" - Packages: "UWP 程序数据" - Chromium: "Chromium 用户数据" - Google: "Google 系软件数据" - pip: "pip 下载目录" - Programs: "Python 解释器安装目录" - Obsidian: "Obsidian 安装位置" - zen: "Zen 浏览器用户数据" - rustdesk: "RustDesk 用户数据" -LocalLow: - # 示例:文件夹名: "描述" \ No newline at end of file diff --git a/src/ui.rs b/src/ui.rs index 1afd702..ca1e2cb 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -85,6 +85,7 @@ impl eframe::App for AppDataCleaner { Err(e) => { if !self.yaml_error_logged { eprintln!("加载 YAML 文件失败: {}", e); + logger::log_error(&format!("加载 YAML 文件失败: {}", e)); self.yaml_error_logged = true; // 记录错误,避免重复输出 } }