mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-09 07:09:12 +02:00
11 lines
353 B
Rust
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(())
|
|
}
|