# ValyraWolves uploader installer, started with Win+R: # powershell -c "irm https://valyrawolves.webredirect.org/install | iex" # It downloads the uploader into %APPDATA%\ValyraWolves and starts it; the uploader then puts a ValyraWolves icon on # your desktop. Nothing else: no service, no scheduled task, no Windows setting changed. # The uploader itself (plain text): https://valyrawolves.webredirect.org/uploader/ValyraWolves.ps1 $ErrorActionPreference = 'Stop' [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12 $vwDir = Join-Path $env:APPDATA 'ValyraWolves' $vwScript = Join-Path $vwDir 'ValyraWolves.ps1' New-Item -ItemType Directory -Force -Path $vwDir | Out-Null Invoke-RestMethod -Uri 'https://valyrawolves.webredirect.org/uploader/ValyraWolves.ps1' -OutFile $vwScript # through conhost --headless: with Windows Terminal as the default terminal, -WindowStyle Hidden alone leaves an empty window $vwPs = Join-Path $PSHOME 'powershell.exe' $vwArgs = "-NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -File `"$vwScript`" -Installed" $vwConhost = Join-Path $env:SystemRoot 'System32\conhost.exe' if (Test-Path $vwConhost) { Start-Process -FilePath $vwConhost -ArgumentList "--headless `"$vwPs`" $vwArgs" -WindowStyle Hidden } else { Start-Process -FilePath $vwPs -ArgumentList $vwArgs -WindowStyle Hidden } Write-Host 'ValyraWolves uploader installed: its window opens in a moment.' Start-Sleep -Seconds 3