Add cleanup support for scoop (fix #311)

This commit is contained in:
Roey Darwish Dror
2020-01-30 20:32:37 +02:00
parent 02692bd5e1
commit b91fa4e26c
2 changed files with 14 additions and 3 deletions

View File

@@ -184,7 +184,12 @@ fn run() -> Result<()> {
config.no_retry(),
)?;
execute(&mut report, "Scoop", || windows::run_scoop(run_type), config.no_retry())?;
execute(
&mut report,
"Scoop",
|| windows::run_scoop(config.cleanup(), run_type),
config.no_retry(),
)?;
}
}