This commit is contained in:
Julian Freeman
2026-03-01 00:55:02 -04:00
parent 18786607b1
commit cb9088e8b0
8 changed files with 77 additions and 13 deletions

6
build.rs Normal file
View File

@@ -0,0 +1,6 @@
fn main() {
slint_build::compile("src/main.rs").unwrap();
if std::env::var("CARGO_CFG_TARGET_OS").unwrap() == "windows" {
embed_resource::compile("assets/icon.rc");
}
}