移除构建脚本中复制config到dist的冗余步骤(--add-data已打包,首次运行自动复制)

This commit is contained in:
2026-05-15 17:43:06 +08:00
parent 98893b8c44
commit bdea40ecca
2 changed files with 0 additions and 5 deletions
-3
View File
@@ -78,9 +78,6 @@ if %errorlevel% neq 0 (
exit /b 1
)
:: Copy config to dist for reference
copy config.json dist\config.json >nul 2>&1
echo.
echo ============================================
echo Build complete!
-2
View File
@@ -40,8 +40,6 @@ uv run pyinstaller \
--hidden-import=requests \
main.py
cp config.json dist/config.json 2>/dev/null || true
echo
echo "============================================"
echo " Build complete!"