新增Win7离线构建并调整PDF采购章及供需方签章位置

This commit is contained in:
reddaniel110
2026-09-17 10:41:03 +08:00
parent 768b4705dc
commit 62cd117379
15 changed files with 656 additions and 26 deletions
+20
View File
@@ -0,0 +1,20 @@
@echo off
setlocal EnableExtensions DisableDelayedExpansion
cd /d "%~dp0"
set "PYTHONUTF8=1"
set "PYTHONIOENCODING=utf-8"
set "PYTHONHOME="
set "PYTHONPATH="
if not exist "%~dp0.buildenv\Scripts\python.exe" goto missing
"%~dp0.buildenv\Scripts\python.exe" "%~dp0win7\build.py" build
if errorlevel 1 goto failed
echo.
echo EXE is in the new dated subfolder under dist. See BUILD_INFO.json.
pause
exit /b 0
:missing
echo Run 01_install_env.cmd successfully first.
:failed
echo BUILD FAILED. Check the messages and build log. Keep the old server unchanged.
pause
exit /b 1