Add basic resource file for Windows binary (#4745)

This commit is contained in:
Genna Wingert
2022-03-05 22:56:23 +01:00
committed by GitHub
parent 4aa9a18c63
commit fa7d66347f
5 changed files with 104 additions and 1 deletions

7
build.rs Normal file
View File

@@ -0,0 +1,7 @@
#[cfg(windows)]
fn main() {
embed_resource::compile_for("assets/nushell.rc", &["nu"])
}
#[cfg(not(windows))]
fn main() {}