support fast clean options

This commit is contained in:
Julian Freeman
2026-03-03 13:35:44 -04:00
parent dbec37cd3d
commit 4cbf6379ba
3 changed files with 106 additions and 41 deletions

View File

@@ -9,8 +9,8 @@ async fn start_fast_scan() -> cleaner::FastScanResult {
}
#[tauri::command]
async fn start_fast_clean(is_simulation: bool) -> Result<cleaner::CleanResult, String> {
cleaner::run_fast_clean(is_simulation).await
async fn start_fast_clean(selected_paths: Vec<String>) -> Result<cleaner::CleanResult, String> {
cleaner::run_fast_clean(selected_paths).await
}
#[tauri::command]