fn main() {
if std::env::var("CARGO_CFG_TARGET_OS").as_deref() == Ok("windows") {
println!("cargo:rerun-if-changed=docs/logo.ico");
let mut res = winresource::WindowsResource::new();
res.set_icon("docs/logo.ico");
if let Err(e) = res.compile() {
eprintln!("cargo:warning=Failed to compile Windows resources: {}", e);
}
}
}