mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-05 10:13:00 +02:00
13 lines
247 B
Rust
13 lines
247 B
Rust
#[cfg(windows)]
|
|
extern crate winres;
|
|
|
|
#[cfg(windows)]
|
|
fn main() {
|
|
let mut res = winres::WindowsResource::new();
|
|
res.set_icon("icons/icon.ico");
|
|
res.compile().expect("Unable to find visual studio tools");
|
|
}
|
|
|
|
#[cfg(not(windows))]
|
|
fn main() {}
|