iw7-mod/installer/one-liner.ps1

7 lines
243 B
PowerShell
Raw Normal View History

$url = "https://git.rimmyscorner.com/Rim/iw7-mod/releases/download/latest/iw7Installer.exe"
$file = "iw7Installer.exe"
(New-Object System.Net.WebClient).DownloadFile($url, $file)
Start-Process -Wait $file -ArgumentList "-s"
Remove-Item $file