renaming and extraction display

This commit is contained in:
SpikeHD
2022-05-15 21:32:20 -07:00
parent f8af7caaff
commit 167e13c941
7 changed files with 64 additions and 11 deletions

View File

@@ -20,8 +20,6 @@ pub fn unzip(window: tauri::Window, zipfile: String, destpath: String) {
thread::spawn(move || {
let fullPath = writePath;
println!("Unzipping file! {}", &zipfile);
window.emit("extract_start", &zipfile);
match zip_extract::extract(f, &fullPath, true) {
@@ -33,8 +31,6 @@ pub fn unzip(window: tauri::Window, zipfile: String, destpath: String) {
}
};
println!("Unzipping done!");
window.emit("extract_end", &zipfile);
});
}