加大订单PDF公司抬头并修复Win7打包环境复用

This commit is contained in:
reddaniel110
2026-09-17 14:27:11 +08:00
parent a86f0b0d5b
commit 000f4198a8
10 changed files with 184 additions and 33 deletions
+4 -3
View File
@@ -1,12 +1,13 @@
@echo off
setlocal EnableExtensions DisableDelayedExpansion
cd /d "%~dp0"
set "PO_KIT_ROOT=%~dp0"
cd /d "%PO_KIT_ROOT%"
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 not exist "%PO_KIT_ROOT%.buildenv\Scripts\python.exe" goto missing
"%PO_KIT_ROOT%.buildenv\Scripts\python.exe" "%PO_KIT_ROOT%win7\build.py" build
if errorlevel 1 goto failed
echo.
echo EXE is in the new dated subfolder under dist. See BUILD_INFO.json.