From 3aa7f56d0cc6c915e98aaf6f763d75a38d591ead Mon Sep 17 00:00:00 2001 From: Rudxain <76864299+Rudxain@users.noreply.github.com> Date: Thu, 24 Jul 2025 23:16:04 -0400 Subject: [PATCH] build: `unwrap` `embed_resource::compile` --- build.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 6998bc6..e2bbb62 100644 --- a/build.rs +++ b/build.rs @@ -3,7 +3,9 @@ const META: &str = "resources/assets/manifest.rc"; fn main() -> Result<(), Box> { 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(()) }