Files
2026-10-28 17:39:33 +08:00

29 lines
742 B
Batchfile

@echo off
rem ============================================================
rem viewsagent one-click build
rem Double-click this file to build viewsagent.exe in this folder.
rem (Chinese output is printed by build.ps1, this file stays ASCII.)
rem ============================================================
setlocal
chcp 65001 >nul
cd /d "%~dp0"
title viewsagent - build
echo.
echo Building viewsagent ...
echo.
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0build.ps1" %*
set RC=%ERRORLEVEL%
echo.
if not "%RC%"=="0" (
echo [FAILED] Build did not succeed. See the messages above.
) else (
echo [DONE] viewsagent.exe is ready in this folder.
echo Double-click it to run.
)
echo.
pause
exit /b %RC%