Files
cangku/打包.bat
2025-12-30 17:50:43 +08:00

31 lines
708 B
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 服装布料计算管理器 - 打包脚本
echo ========================================
echo.
echo 正在检查依赖...
python -c "import PyQt5" 2>nul
if errorlevel 1 (
echo 错误: 未安装PyQt5正在安装...
pip install -r requirements.txt
if errorlevel 1 (
echo 安装失败,请手动执行: pip install -r requirements.txt
pause
exit /b 1
)
)
echo.
echo 开始打包...
python build_exe.py
echo.
echo ========================================
echo 打包完成!
echo exe文件位置: dist\服装布料计算管理器.exe
echo ========================================
pause