diff --git a/scripts/install.ps1 b/scripts/install.ps1 index 6e48230..b4cf0cf 100644 --- a/scripts/install.ps1 +++ b/scripts/install.ps1 @@ -13,7 +13,9 @@ $url = "https://github.com/agent-helios/helios-remote/releases/latest/download/ $dest = "$env:USERPROFILE\Desktop\Helios Remote.exe" Write-Host "Downloading helios-remote client..." -Invoke-WebRequest -Uri $url -OutFile $dest -UseBasicParsing +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 +$wc = New-Object System.Net.WebClient +$wc.DownloadFile($url, $dest) Write-Host "Starting..." Start-Process -FilePath $dest