@echo off :: build.bat — double-click or run from cmd to build LottoSight.exe :: Calls build.ps1 with execution-policy bypass so no PS config is needed. :: :: Flags are passed through: :: build.bat -Clean wipe dist\ and build\ first :: build.bat -SkipDeps skip pip install powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0build.ps1" %* if %ERRORLEVEL% neq 0 ( echo. echo Build failed. See errors above. pause exit /b 1 ) pause