From 31db22e1560eab3b7b247916f79c12041a9cc18b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=B4=E5=A4=A9?= Date: Thu, 26 Mar 2026 02:25:24 +0800 Subject: [PATCH] =?UTF-8?q?style:=20cargo=20fmt=20=E4=BF=AE=E5=A4=8D=20CI?= =?UTF-8?q?=20=E6=A0=BC=E5=BC=8F=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/src/commands/mod.rs | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/commands/mod.rs b/src-tauri/src/commands/mod.rs index 157de82..54bc336 100644 --- a/src-tauri/src/commands/mod.rs +++ b/src-tauri/src/commands/mod.rs @@ -287,7 +287,13 @@ fn build_enhanced_path() -> String { .collect(); dirs.sort_by(|a, b| b.file_name().cmp(&a.file_name())); for entry in dirs { - extra.push(entry.path().join("installation/bin").to_string_lossy().to_string()); + extra.push( + entry + .path() + .join("installation/bin") + .to_string_lossy() + .to_string(), + ); } } } @@ -353,7 +359,13 @@ fn build_enhanced_path() -> String { .collect(); dirs.sort_by(|a, b| b.file_name().cmp(&a.file_name())); for entry in dirs { - extra.push(entry.path().join("installation/bin").to_string_lossy().to_string()); + extra.push( + entry + .path() + .join("installation/bin") + .to_string_lossy() + .to_string(), + ); } } }