chore: fix ubuntu broken built
Description
Fix the ubuntu broken built.
How Has This Been Tested?
Manually.
-use std::env;
-
+#[cfg(windows)]
fn main() {
+ use std::env;
println!("cargo:rerun-if-changed=icon.res");
let mut path = env::current_dir().unwrap();
path.push("icon.res");
println!("cargo:rustc-link-arg={}", path.into_os_string().into_string().unwrap());
}
+
+#[cfg(not(windows))]
+fn main() {}
