mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-28 16:30:52 +08:00
fix: improve logging format for old shortcut removal failure
This commit is contained in:
@@ -45,7 +45,7 @@ pub fn create_shortcut() -> Result<()> {
|
||||
// 移除旧的快捷方式
|
||||
if old_shortcut_path.exists() {
|
||||
if let Err(e) = fs::remove_file(&old_shortcut_path) {
|
||||
info!(target: "app", "移除旧快捷方式失败: {}", e);
|
||||
info!(target: "app", "移除旧快捷方式失败: {e}");
|
||||
} else {
|
||||
info!(target: "app", "成功移除旧快捷方式");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user