@echo off
setlocal
if not defined TAPROOM_INSTALL_BASE_URL set "TAPROOM_INSTALL_BASE_URL=https://taproom.aquilainteractive.io"
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "irm '%TAPROOM_INSTALL_BASE_URL%/api/downloads/taproom-cli/latest/install.ps1' | iex"
if not "%ERRORLEVEL%"=="0" exit /b %ERRORLEVEL%
endlocal
