progress bar 'fix'

This commit is contained in:
SpikeHD
2022-07-26 20:49:20 -07:00
parent 7e5f3be4fa
commit 0971f5b826
5 changed files with 6 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
use std::fs::{read_dir, File};
use std::path;
use std::thread;
use unrar::archive::{Archive, OpenArchive};
use unrar::archive::Archive;
#[tauri::command]
pub fn unzip(
@@ -132,9 +132,9 @@ pub fn unzip(
fn extract_rar(
window: &tauri::Window,
rarfile: &String,
f: &File,
_f: &File,
full_path: &path::PathBuf,
top_level: bool,
_top_level: bool,
) {
let archive = Archive::new(rarfile.clone());