@echo off
REM ============================================================
REM Kiwy Signage Player - Windows Launcher
REM ============================================================
REM This batch file launches the Kiwy Signage Player executable.
REM It creates local folders for playlist, media, config, and logs
REM next to the executable.
REM ============================================================

cd /d "%~dp0dist\KiwySignagePlayer"

echo ============================================
echo  Kiwy Signage Player - Windows Edition
echo ============================================
echo.
echo Launching player...
echo.

start "" "KiwySignagePlayer.exe"

echo Player started.
echo.
echo If the player window does not appear, check:
echo   dist\KiwySignagePlayer\logs\crash.log
echo   dist\KiwySignagePlayer\logs\fatal_crash.log
echo.
pause
