@echo off
REM ===========================================================================
REM  DigitalWall - Windows kiosk launcher
REM  Runs the DigitalWall player full-screen in Chrome (or Edge) on this PC.
REM
REM  1. Save this file somewhere permanent.
REM  2. Double-click to launch now, OR place a shortcut to it in:
REM       shell:startup   (Win+R -> type "shell:startup" -> Enter)
REM     so the screen launches the player automatically on boot.
REM  3. On first run, pair the screen using the 6-character code it shows.
REM ===========================================================================

set "URL=https://app.digitalwall.in/player/"

REM Try Chrome first
start "" "chrome.exe" --kiosk --app=%URL% --noerrdialogs --disable-infobars --disable-session-crashed-bubble --incognito
if %errorlevel%==0 goto :eof

REM Fall back to Microsoft Edge
start "" "msedge.exe" --kiosk %URL% --edge-kiosk-type=fullscreen --noerrdialogs --disable-infobars
