2018-08-03 12:21:34 +00:00
|
|
|
#[cfg(windows)]
|
|
|
|
extern crate winres;
|
|
|
|
|
|
|
|
#[cfg(windows)]
|
|
|
|
fn main() {
|
|
|
|
let mut res = winres::WindowsResource::new();
|
|
|
|
res.set_icon("static/favicon.ico");
|
|
|
|
res.compile().unwrap();
|
|
|
|
}
|
|
|
|
|
|
|
|
#[cfg(not(windows))]
|
2018-08-03 12:21:57 +00:00
|
|
|
fn main() {}
|