Files
nl-tools/build.bat
2025-12-11 09:47:00 +08:00

32 lines
813 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 ║ 奶酪云工具箱 - Windows 打包 ║
echo ╚══════════════════════════════════════════════╝
echo.
:: 检查 Python
python --version >nul 2>&1
if errorlevel 1 (
echo ❌ 未找到 Python请先安装 Python 3.8+
pause
exit /b 1
)
:: 安装依赖
echo 📦 安装/更新依赖...
pip install -r requirements.txt
pip install pyinstaller
:: 执行打包
echo.
echo 🔨 开始打包...
python build_app.py --platform current
echo.
echo ✅ 打包完成!
echo 📁 输出目录: dist\
pause