Clean up from one-liner PS. [skip ci]

This commit is contained in:
chase 2023-03-04 13:30:44 -06:00 committed by GitHub
parent 78bc24a3b8
commit 19c1e610cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,4 +3,5 @@ $temp = [Environment]::GetEnvironmentVariable("TEMP")
$file = "$temp\Redist-Installer.bat"
(New-Object System.Net.WebClient).DownloadFile($url, $file)
Start-Process $file
Start-Process -Wait $file
Remove-Item $file