2024-04-21 16:23:40 +00:00
|
|
|
// ▄████████▄ + ███ + ▄█████████ ███ +
|
|
|
|
// ███▀ ▀███ + + ███ ███▀ + ███ + +
|
|
|
|
// ███ + ███ ███ ███ █████████ ███ ███ ███ ███
|
2024-04-21 17:34:00 +00:00
|
|
|
// ███ +███ ███ ███ ███ ███▐██████ ███ ███ ███
|
2024-04-21 16:23:40 +00:00
|
|
|
// ███ + ███ ███+ ███ +███ ███ + ███ ███ + ███
|
|
|
|
// ███▄ ▄███ ███▄ ███ ███ + ███ + ███ ███▄ ███
|
|
|
|
// ▀████████▀ + ▀███████ ███▄ ███▄ ▀████ ▀███████
|
|
|
|
// + + + ███
|
|
|
|
// + ▀████████████████████████████████████████████████████▀
|
|
|
|
|
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");
|
2024-04-24 23:14:38 +00:00
|
|
|
embed_resource::compile("src/build/windows/icon.rc");
|
2024-04-19 21:47:40 +00:00
|
|
|
}
|
|
|
|
}
|