failed binary patch warning (#13825)

* failed binary patch warning

* Update crates/tauri-bundler/src/bundle.rs

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>

---------

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
This commit is contained in:
kandrelczyk 2025-07-14 16:24:11 +02:00 committed by GitHub
parent b821796add
commit c0a654b863
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -126,7 +126,9 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<Bundle>> {
continue;
}
patch_binary(&settings.binary_path(main_binary), package_type)?;
if let Err(e) = patch_binary(&settings.binary_path(main_binary), package_type) {
log::warn!("Failed to add bundler type to the binary: {e}. Updater plugin may not be able to update this package. This shouldn't normally happen, please report it to https://github.com/tauri-apps/tauri/issues");
}
let bundle_paths = match package_type {
#[cfg(target_os = "macos")]