2022-03-05 22:56:23 +01:00
|
|
|
#[cfg(windows)]
|
|
|
|
fn main() {
|
2023-04-26 14:14:55 +02:00
|
|
|
let mut res = winresource::WindowsResource::new();
|
2022-05-25 05:28:10 +02:00
|
|
|
res.set("ProductName", "Nushell");
|
|
|
|
res.set("FileDescription", "Nushell");
|
|
|
|
res.set("LegalCopyright", "Copyright (C) 2022");
|
|
|
|
res.set_icon("assets/nu_logo.ico");
|
|
|
|
res.compile()
|
|
|
|
.expect("Failed to run the Windows resource compiler (rc.exe)");
|
2022-03-05 22:56:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#[cfg(not(windows))]
|
|
|
|
fn main() {}
|