This commit is contained in:
huangzhenpc
2025-05-17 18:16:24 +08:00
parent 753ea21977
commit 2d603c33aa
32 changed files with 2114 additions and 96 deletions

View File

@@ -58,9 +58,15 @@ del /s /q *.pyc >nul 2>&1
del /s /q *.pyo >nul 2>&1
:: 清理旧的打包文件
echo 清理旧文件...
if exist "build" rd /s /q "build"
:: 保留当前版本的 .spec 文件
set CURRENT_SPEC=dist\听泉cursor助手_test.spec
if exist "!CURRENT_SPEC!" (
move "!CURRENT_SPEC!" "!CURRENT_SPEC!.bak"
)
if exist "*.spec" del /f /q "*.spec"
if exist "!CURRENT_SPEC!.bak" (
move "!CURRENT_SPEC!.bak" "!CURRENT_SPEC!"
)
:: 使用优化选项进行打包
echo 开始打包...