show scan progress
This commit is contained in:
@@ -14,8 +14,8 @@ async fn start_fast_clean(selected_paths: Vec<String>) -> Result<cleaner::CleanR
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
async fn start_full_disk_scan(state: State<'_, cleaner::DiskState>) -> Result<(), String> {
|
||||
cleaner::run_full_scan("C:\\".to_string(), &state).await;
|
||||
async fn start_full_disk_scan(state: State<'_, cleaner::DiskState>, app_handle: tauri::AppHandle) -> Result<(), String> {
|
||||
cleaner::run_full_scan("C:\\".to_string(), &state, app_handle).await;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user