Reimtris/build.rs

11 lines
242 B
Rust
Raw Normal View History

2023-03-21 17:29:48 +00:00
extern crate winres;
use winres::WindowsResource;
fn main() {
if cfg!(target_os = "windows") {
let mut res = WindowsResource::new();
res.set_icon("src/res/reimtris.ico");
res.compile().unwrap();
}
}