universal-android-debloater.../build.rs
2025-08-09 20:04:02 -04:00

11 lines
353 B
Rust

const META: &str = "resources/assets/manifest.rc";
fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("cargo::rerun-if-changed={META}");
if std::env::var("CARGO_CFG_TARGET_FAMILY")? == "windows" {
embed_resource::compile(META, embed_resource::NONE)
.manifest_optional()
.unwrap();
}
Ok(())
}