All checks were successful
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
7 lines
184 B
Rust
7 lines
184 B
Rust
fn main() {
|
|
if cfg!(target_os = "windows") {
|
|
let mut res = winres::WindowsResource::new();
|
|
res.set_icon("assets/dtmm.ico");
|
|
res.compile().unwrap();
|
|
}
|
|
}
|