Files
guba-indicator/build.bat

26 lines
625 B
Batchfile
Raw Normal View History

@echo off
echo ========================================
echo 股吧人气指示器 - 打包工具
echo ========================================
REM 检查 pyinstaller 是否安装
pip show pyinstaller >nul 2>&1
if errorlevel 1 (
echo 正在安装 pyinstaller...
pip install pyinstaller
)
echo 开始打包...
pyinstaller build.spec
if exist "dist\guba-indicator.exe" (
echo ========================================
echo 打包成功!
echo 可执行文件位置: dist\guba-indicator.exe
echo ========================================
) else (
echo 打包失败,请检查错误信息
)
pause