778274b5ae
Former-commit-id: 73554b0128e036279f7ac895acb57d8f89cb1c96
13 lines
212 B
Rust
13 lines
212 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() {}
|