diff --git a/build.rs b/build.rs index 48ac551..225095a 100644 --- a/build.rs +++ b/build.rs @@ -9,13 +9,13 @@ fn main() { let is_android = cfg!(target_os = "android") || (cfg!(target_os = "linux") && target.contains("android")); // hack println!("cargo:rerun-if-changed=build.rs"); - + #[cfg(target_os = "windows")] { - let mut res = winres::WindowsResource::new(); - res.set_icon("res/sue.ico"); - res.compile().unwrap(); - } + let mut res = winres::WindowsResource::new(); + res.set_icon("res/sue.ico"); + res.compile().unwrap(); + } if target.contains("darwin") { println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=10.15"); diff --git a/res/sue.ico b/res/sue.ico index df88851..c977b26 100644 Binary files a/res/sue.ico and b/res/sue.ico differ