Clean up after automated download

This commit is contained in:
Manuel Thalmann 2023-07-15 19:53:20 +02:00
parent 6874aed162
commit 4eb23fee10

View file

@ -67,5 +67,7 @@ function Start-AutomatedDownload() {
}
$result = Move-Item $file $outDir -PassThru;
$browser.Close();
Remove-Item -Recurse $tempDir;
return $result;
}