diff --git a/plugins/updater/src/updater.rs b/plugins/updater/src/updater.rs index 3e81b649..33022801 100644 --- a/plugins/updater/src/updater.rs +++ b/plugins/updater/src/updater.rs @@ -653,7 +653,7 @@ impl Update { let extraction_path = &self.extract_path.join(collected_path); // if something went wrong during the extraction, we should restore previous app - if let Err(err) = entry.unpack(&extraction_path) { + if let Err(err) = entry.unpack(extraction_path) { for file in &extracted_files { // delete all the files we extracted if file.is_dir() {