Add Windows icon

This commit is contained in:
Alex Page 2022-01-25 14:53:01 -05:00
parent 02270fb4b0
commit 875948519f
5 changed files with 35 additions and 1 deletions

12
build.rs Normal file
View file

@ -0,0 +1,12 @@
#[cfg(windows)]
extern crate winres;
#[cfg(windows)]
fn main() {
let mut res = winres::WindowsResource::new();
res.set_icon("icon.ico");
res.compile().unwrap();
}
#[cfg(unix)]
fn main() {}