# Hollyweird test-build installer. On the tester's PC, in PowerShell: # irm https://dl.hollyweird.co/install.ps1 | iex # Puts the updater in %LOCALAPPDATA%\Hollyweird, adds a "Hollyweird" desktop shortcut, and installs the latest build. $ErrorActionPreference = "Stop" $ProgressPreference = "SilentlyContinue" [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $Root = Join-Path $env:LOCALAPPDATA "Hollyweird" New-Item -ItemType Directory -Force $Root | Out-Null Invoke-WebRequest "https://dl.hollyweird.co/updater/HollyweirdUpdater.ps1" -OutFile (Join-Path $Root "HollyweirdUpdater.ps1") -UseBasicParsing Invoke-WebRequest "https://dl.hollyweird.co/updater/Hollyweird.cmd" -OutFile (Join-Path $Root "Hollyweird.cmd") -UseBasicParsing $ws = New-Object -ComObject WScript.Shell $lnk = $ws.CreateShortcut((Join-Path ([Environment]::GetFolderPath("Desktop")) "Hollyweird.lnk")) $lnk.TargetPath = Join-Path $Root "Hollyweird.cmd" $lnk.WorkingDirectory = $Root $lnk.Description = "Hollyweird (auto-updating test build)" $lnk.Save() Write-Host "Installed the Hollyweird updater + desktop shortcut. Fetching the latest build..." -ForegroundColor Green & (Join-Path $Root "Hollyweird.cmd")