outfly/build/build.rs

8 lines
223 B
Rust
Raw Normal View History

2024-04-19 21:47:40 +00:00
fn main() {
let target = std::env::var("TARGET").unwrap();
if target.contains("windows") {
println!("cargo:warning=Embedding Windows Icon");
embed_resource::compile("build/windows/icon.rc");
}
}