From cb8689436984900db92cd7a73ff94f08b553b812 Mon Sep 17 00:00:00 2001 From: Helios Agent Date: Tue, 3 Mar 2026 14:27:38 +0100 Subject: [PATCH] fix: use WebClient instead of Invoke-WebRequest in install.ps1 (TLS compat) --- scripts/install.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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