mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 15:13:16 +00:00
11 lines
311 B
Rust
11 lines
311 B
Rust
fn main() {
|
|
#[cfg(target_os = "linux")]
|
|
println!("cargo:rustc-link-arg=-Wl,-rpath,$ORIGIN");
|
|
|
|
if std::env::var("CARGO_CFG_TARGET_OS").unwrap() == "windows" {
|
|
let mut res = winresource::WindowsResource::new();
|
|
res.set_icon("assets/icon.ico");
|
|
|
|
res.compile().unwrap();
|
|
}
|
|
}
|