1
0
mirror of https://github.com/Tim-Paik/neutauri.git synced 2024-10-12 23:29:41 +00:00

add windows icon

This commit is contained in:
2022-02-04 01:08:15 +08:00
parent 4fc4504057
commit a242b1b12d
5 changed files with 27 additions and 2 deletions

12
neutauri_runtime/build.rs Normal file
View File

@ -0,0 +1,12 @@
#[cfg(windows)]
extern crate winres;
#[cfg(windows)]
fn main() {
let mut res = winres::WindowsResource::new();
res.set_icon("wry.ico");
res.compile().unwrap();
}
#[cfg(unix)]
fn main() {}