modified: Cargo.toml new file: build.rs new file: icon.ico new file: launcher.rc modified: src/launcher.rs modified: src/main.rs
7 lines
179 B
Rust
7 lines
179 B
Rust
extern crate winres;
|
|
|
|
fn main() {
|
|
let mut res = winres::WindowsResource::new();
|
|
res.set_icon("icon.ico");
|
|
res.compile().expect("Failed to compile Windows resource");
|
|
} |