Skip to content

Commit c0a654b

Browse files
failed binary patch warning (#13825)
* failed binary patch warning * Update crates/tauri-bundler/src/bundle.rs Co-authored-by: Tony <[email protected]> --------- Co-authored-by: Tony <[email protected]>
1 parent b821796 commit c0a654b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/tauri-bundler/src/bundle.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<Bundle>> {
126126
continue;
127127
}
128128

129-
patch_binary(&settings.binary_path(main_binary), package_type)?;
129+
if let Err(e) = patch_binary(&settings.binary_path(main_binary), package_type) {
130+
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");
131+
}
130132

131133
let bundle_paths = match package_type {
132134
#[cfg(target_os = "macos")]

0 commit comments

Comments
 (0)