Clean up after automated download
This commit is contained in:
parent
6874aed162
commit
4eb23fee10
1 changed files with 2 additions and 0 deletions
|
@ -67,5 +67,7 @@ function Start-AutomatedDownload() {
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = Move-Item $file $outDir -PassThru;
|
$result = Move-Item $file $outDir -PassThru;
|
||||||
|
$browser.Close();
|
||||||
|
Remove-Item -Recurse $tempDir;
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue