新增
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
@echo off
|
||||
setlocal
|
||||
cd /d "%~dp0"
|
||||
|
||||
echo ========================================
|
||||
echo ZhenAI WeCom Assistant EXE Builder
|
||||
echo ========================================
|
||||
echo.
|
||||
echo Building, please wait...
|
||||
echo.
|
||||
|
||||
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0build_windows_exe.ps1"
|
||||
set "BUILD_EXIT_CODE=%ERRORLEVEL%"
|
||||
|
||||
echo.
|
||||
if not "%BUILD_EXIT_CODE%"=="0" goto build_failed
|
||||
|
||||
echo Build completed successfully.
|
||||
echo Output folder: %~dp0dist
|
||||
start "" explorer.exe "%~dp0dist"
|
||||
echo.
|
||||
pause
|
||||
exit /b 0
|
||||
|
||||
:build_failed
|
||||
echo Build failed. Please keep this window open and check the error above.
|
||||
echo.
|
||||
pause
|
||||
exit /b %BUILD_EXIT_CODE%
|
||||
Reference in New Issue
Block a user