fix linux build

pull/355/head
Lucas Nogueira 2 years ago
parent 0425d569ce
commit 3ece7b2558
No known key found for this signature in database
GPG Key ID: 7C32FCA95C8C95D7

14
Cargo.lock generated

@ -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",

@ -672,7 +672,7 @@ fn copy_files_and_run<R: Read + Seek>(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);

Loading…
Cancel
Save