fix ending too soon

This commit is contained in:
Mylloon 2024-07-02 12:06:36 +02:00
parent b263b8d5d5
commit db298dabb7
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -8,7 +8,7 @@ $filePath = Join-Path -Path $env:TEMP -ChildPath $fileName
Write-Host "Downloading $fileName..." Write-Host "Downloading $fileName..."
Invoke-WebRequest -Uri $url -OutFile $filePath Invoke-WebRequest -Uri $url -OutFile $filePath
& $filePath Start-Process $filePath -NoNewWindow -Wait;
Remove-Item -Path $filePath Remove-Item -Path $filePath