Files
orisys-app/build/customer/build.bat
T
2026-09-06 21:57:50 +08:00

21 lines
476 B
Batchfile

@echo off
setlocal EnableExtensions
REM Build Orisys Customer EXE. Works from any cwd; forwards args to build.ps1
REM Examples:
REM build.bat
REM build.bat -Clean
REM build.bat -SkipInstall
REM build.bat -Clean -SkipInstall
set "SCRIPT_DIR=%~dp0"
set "PS1=%SCRIPT_DIR%build.ps1"
if not exist "%PS1%" (
echo ERROR: build.ps1 not found at "%PS1%"
exit /b 1
)
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%PS1%" %*
set "ERR=%ERRORLEVEL%"
exit /b %ERR%