2025-09-09 10:41:27 +08:00

44 lines
1.0 KiB
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
chcp 65001 >nul
echo ================================================
echo VWED任务系统自动化打包工具
echo ================================================
echo.
cd /d "%~dp0\.."
echo 检查Python环境...
python --version
if %errorlevel% neq 0 (
echo 错误: 未找到Python环境请确保Python已安装并添加到PATH
pause
exit /b 1
)
echo.
echo 开始构建过程...
echo.
python scripts\build.py
if %errorlevel% equ 0 (
echo.
echo ================================================
echo 构建完成!
echo ================================================
echo.
echo 发布包位置: dist\VWED_Task_Release\
echo.
echo 请查看发布包中的"部署说明.txt"了解使用方法
echo.
) else (
echo.
echo ================================================
echo 构建失败!
echo ================================================
echo.
echo 请检查上述错误信息并重试
echo.
)
pause