@echo off
rem ============================================================
rem  Signage kiosk - live front-desk menu on the guest monitor.
rem  Double-click ONCE on the POS computer: it copies itself to
rem  this user's Startup folder, then opens the menu fullscreen
rem  on the second monitor. It relaunches on every login.
rem ============================================================

rem X position of the SECOND monitor. 1920 is right of a 1080p
rem primary; if the guest screen sits LEFT of it, use -1920.
set "XPOS=1920"

set "URL=https://signage.ninjakidzparks.com/signage/springfield-va/front-desk"

copy /y "%~f0" "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\signage-kiosk-front-desk.bat" >nul 2>&1

start "" msedge --new-window --app="%URL%" --window-position=%XPOS%,0 --start-fullscreen --no-first-run --user-data-dir="%LOCALAPPDATA%\SignageKiosk-front-desk"

rem If the window opens on the wrong screen, adjust XPOS above.
rem If it opens windowed instead of fullscreen, click it and press F11.
