mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-09 07:09:12 +02:00
build: unwrap embed_resource::compile
This commit is contained in:
parent
4eaaca55cf
commit
3aa7f56d0c
1 changed files with 3 additions and 1 deletions
4
build.rs
4
build.rs
|
|
@ -3,7 +3,9 @@ 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);
|
||||
embed_resource::compile(META, embed_resource::NONE)
|
||||
.manifest_optional()
|
||||
.unwrap();
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue