alterware-launcher/res/build.rs

17 lines
302 B
Rust
Raw Permalink Normal View History

2023-06-10 03:33:16 -04:00
#[cfg(windows)]
extern crate winres;
#[cfg(windows)]
fn main() {
let mut res = winres::WindowsResource::new();
res.set_icon("res/icon.ico").set_language(0x0409);
if let Err(e) = res.compile() {
eprintln!("{}", e);
std::process::exit(1);
}
}
#[cfg(unix)]
fn main() {}