@echo off
setlocal
set INSTALLER=%TEMP%\shiner-pos-helper-installer.ps1
powershell -NoProfile -ExecutionPolicy Bypass -Command "Invoke-WebRequest -UseBasicParsing -Uri 'https://pos.shinertactical.com/downloads/shiner-pos-helper-installer.ps1' -OutFile '%INSTALLER%'"
if errorlevel 1 (
  echo Failed to download the Shiner POS Helper installer.
  pause
  exit /b 1
)
powershell -NoProfile -ExecutionPolicy Bypass -File "%INSTALLER%"
