@echo off
rem Hollyweird launcher: refresh the updater script, then check for a new build and start the game.
if not exist "%LOCALAPPDATA%\Hollyweird" mkdir "%LOCALAPPDATA%\Hollyweird"
powershell -NoProfile -ExecutionPolicy Bypass -Command "try { [Net.ServicePointManager]::SecurityProtocol='Tls12'; $ProgressPreference='SilentlyContinue'; Invoke-WebRequest 'https://dl.hollyweird.co/updater/HollyweirdUpdater.ps1' -OutFile \"$env:LOCALAPPDATA\Hollyweird\HollyweirdUpdater.ps1.new\" -UseBasicParsing; Move-Item -Force \"$env:LOCALAPPDATA\Hollyweird\HollyweirdUpdater.ps1.new\" \"$env:LOCALAPPDATA\Hollyweird\HollyweirdUpdater.ps1\" } catch {}"
powershell -NoProfile -ExecutionPolicy Bypass -File "%LOCALAPPDATA%\Hollyweird\HollyweirdUpdater.ps1"
