v8: fix server startup, CSV parse, upload flow, load_from_db types, integration test

This commit is contained in:
PM-pinou
2026-07-20 19:40:49 +08:00
parent 7fe14a3f05
commit efc6e3ab9d
9 changed files with 334 additions and 21 deletions
+37
View File
@@ -0,0 +1,37 @@
@echo off
chcp 65001 >nul
cd /d "%~dp0"
echo ================================================
echo 天璇 一键构建工具
echo ================================================
echo.
echo 本工具会自动:
echo 1. 提交所有未提交的代码变更
echo 2. 创建版本标签 (VERSION)
echo 3. 构建增量更新包
echo.
:: Check portable Python exists
if not exist "runtime\python\python.exe" (
echo [INFO] 使用系统 Python...
set PYTHON=python
) else (
set PYTHON=runtime\python\python.exe
)
%PYTHON% scripts/build_update.py --auto
if %ERRORLEVEL% neq 0 (
echo.
echo [ERROR] 构建失败,请检查错误信息
pause
exit /b %ERRORLEVEL%
)
echo.
echo ================================================
echo ✅ 一键构建完成!
echo ================================================
echo.
echo 更新包已生成,复制到离线机后双击 update.bat
echo.
pause