fn main() {
println!("cargo:rerun-if-changed=build.rs");
#[cfg(target_os = "windows")]
{
let mut res = winres::WindowsResource::new();
let icon_path = "assets/term39.ico";
if std::path::Path::new(icon_path).exists() {
res.set_icon(icon_path);
}
res.set("ProductName", "term39");
res.set(
"FileDescription",
"A modern, retro-styled terminal multiplexer with a classic MS-DOS aesthetic",
);
res.set("LegalCopyright", "Copyright (c) 2025 Alejandro Quintanar");
res.compile().expect("Failed to compile Windows resources");
}
}