b21cd1e3d9
Former-commit-id: 8e264cdbc9e5290654c29e6893a121bce73c29c9
13 lines
215 B
Rust
13 lines
215 B
Rust
#[cfg(windows)]
|
|
use winres;
|
|
|
|
#[cfg(windows)]
|
|
fn main() {
|
|
let mut res = winres::WindowsResource::new();
|
|
res.set_icon("../../assets/icon.ico");
|
|
res.compile().unwrap();
|
|
}
|
|
|
|
#[cfg(not(windows))]
|
|
fn main() {}
|