Add Store support and unsigned app releases
This commit is contained in:
7
crates/sf-ui/build.rs
Normal file
7
crates/sf-ui/build.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
// Tells the build scripts of apps that depend on sf-ui where its Slint
|
||||
// library is: they read it as DEP_SF_UI_UI_DIR and map it to "@sf-ui".
|
||||
fn main() {
|
||||
let dir = std::path::Path::new(&std::env::var("CARGO_MANIFEST_DIR").unwrap()).join("ui");
|
||||
println!("cargo:ui_dir={}", dir.display());
|
||||
println!("cargo:rerun-if-changed=build.rs");
|
||||
}
|
||||
Reference in New Issue
Block a user