Files
cmautobuy/client/build_client.bat
T

21 lines
401 B
Batchfile
Raw Normal View History

@echo off
setlocal
cd /d "%~dp0"
where powershell.exe >nul 2>nul
if errorlevel 1 (
echo [ERROR] powershell.exe not found.
exit /b 1
)
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0packaging\build.ps1"
if errorlevel 1 (
echo.
echo [ERROR] Client build failed. See the error above.
exit /b 1
)
echo.
echo [OK] Client release files are in client\release.
exit /b 0