From 19c1e610cd2c3ea3cb7657210e091b067cd91c1d Mon Sep 17 00:00:00 2001 From: chase Date: Sat, 4 Mar 2023 13:30:44 -0600 Subject: [PATCH] Clean up from one-liner PS. [skip ci] --- one-liner.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/one-liner.ps1 b/one-liner.ps1 index 73e9c35..7f4e829 100644 --- a/one-liner.ps1 +++ b/one-liner.ps1 @@ -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