@echo off
REM Doug - public Windows installer.
REM User downloaded this .bat and double-clicked. We hand off to PowerShell;
REM Doug himself narrates from there - including any local block recovery.

title Doug - installing himself
mode con: cols=88 lines=36
color 0F
echo.
echo   Doug here. Hold on, getting on your box.
echo.

powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& { [Net.ServicePointManager]::SecurityProtocol=3072; $tmp=Join-Path $env:TEMP ('doug-bootstrap-'+[guid]::NewGuid().ToString('N').Substring(0,8)+'.ps1'); Invoke-WebRequest -UseBasicParsing 'https://getdougos.com/install/bootstrap' -OutFile $tmp; & $tmp }"

echo.
echo   You can close this window.
pause >nul
