diff --git a/Cargo.lock b/Cargo.lock index d590011c..410a8eef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4960,7 +4960,7 @@ dependencies = [ [[package]] name = "tauri" version = "2.0.0-alpha.8" -source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#04735516d5b459421e49755d4821a0773afb6969" +source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#cbfbff9c0f53035b6adea57788d2b8c0425377f1" dependencies = [ "anyhow", "bytes 1.4.0", @@ -5010,7 +5010,7 @@ dependencies = [ [[package]] name = "tauri-build" version = "2.0.0-alpha.4" -source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#04735516d5b459421e49755d4821a0773afb6969" +source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#cbfbff9c0f53035b6adea57788d2b8c0425377f1" dependencies = [ "anyhow", "cargo_toml", @@ -5030,7 +5030,7 @@ dependencies = [ [[package]] name = "tauri-codegen" version = "2.0.0-alpha.4" -source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#04735516d5b459421e49755d4821a0773afb6969" +source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#cbfbff9c0f53035b6adea57788d2b8c0425377f1" dependencies = [ "base64 0.21.0", "brotli", @@ -5055,7 +5055,7 @@ dependencies = [ [[package]] name = "tauri-macros" version = "2.0.0-alpha.4" -source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#04735516d5b459421e49755d4821a0773afb6969" +source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#cbfbff9c0f53035b6adea57788d2b8c0425377f1" dependencies = [ "heck 0.4.1", "proc-macro2", @@ -5449,7 +5449,7 @@ dependencies = [ [[package]] name = "tauri-runtime" version = "0.13.0-alpha.4" -source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#04735516d5b459421e49755d4821a0773afb6969" +source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#cbfbff9c0f53035b6adea57788d2b8c0425377f1" dependencies = [ "gtk", "http", @@ -5469,7 +5469,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" version = "0.13.0-alpha.4" -source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#04735516d5b459421e49755d4821a0773afb6969" +source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#cbfbff9c0f53035b6adea57788d2b8c0425377f1" dependencies = [ "cocoa", "gtk", @@ -5489,7 +5489,7 @@ dependencies = [ [[package]] name = "tauri-utils" version = "2.0.0-alpha.4" -source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#04735516d5b459421e49755d4821a0773afb6969" +source = "git+https://github.com/tauri-apps/tauri?branch=refactor/cleanup#cbfbff9c0f53035b6adea57788d2b8c0425377f1" dependencies = [ "aes-gcm 0.10.1", "brotli", diff --git a/plugins/updater/src/updater/core.rs b/plugins/updater/src/updater/core.rs index 920b507a..bdc4d745 100644 --- a/plugins/updater/src/updater/core.rs +++ b/plugins/updater/src/updater/core.rs @@ -672,7 +672,7 @@ fn copy_files_and_run(archive_buffer: R, extract_path: &Path) -> // if something went wrong during the extraction, we should restore previous app if let Err(err) = entry.extract(extract_path) { Move::from_source(tmp_app_image).to_dest(extract_path)?; - return Err(tauri::api::Error::Extract(err.to_string())); + return Err(err); } // early finish we have everything we need here return Ok(true);