From c79e65f92dcd297b3c37ace95196d3cb942b9d93 Mon Sep 17 00:00:00 2001 From: Tlntin <371043382@qq.com> Date: Wed, 7 Dec 2022 10:23:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81=E9=A3=8E?= =?UTF-8?q?=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 64c1741..3a80e10 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -130,12 +130,10 @@ fn main() -> wry::Result<()> { let package_name = package_name .expect("can't get package name in config file") .to_lowercase(); - #[cfg(target_os = "windows")] let icon_path = format!("png/{}_32.ico", package_name); #[cfg(target_os = "windows")] let icon = load_icon(std::path::Path::new(&icon_path)); - #[cfg(target_os = "windows")] let window = common_window .with_decorations(true)