feat: codex-register with Sub2API增强 + Playwright引擎
Some checks are pending
Docker Image CI / build-and-push-image (push) Waiting to run
Some checks are pending
Docker Image CI / build-and-push-image (push) Waiting to run
This commit is contained in:
20
build.bat
Normal file
20
build.bat
Normal file
@@ -0,0 +1,20 @@
|
||||
@echo off
|
||||
REM Windows 打包脚本
|
||||
|
||||
echo === 构建平台: Windows ===
|
||||
|
||||
REM 安装打包依赖
|
||||
pip install pyinstaller --quiet
|
||||
|
||||
REM 执行打包
|
||||
pyinstaller codex_register.spec --clean --noconfirm
|
||||
|
||||
IF EXIST dist\codex-register.exe (
|
||||
FOR /F "tokens=*" %%i IN ('powershell -Command "[System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture"') DO SET ARCH=%%i
|
||||
SET OUTPUT=dist\codex-register-windows-%ARCH%.exe
|
||||
MOVE dist\codex-register.exe "%OUTPUT%"
|
||||
echo === 构建完成: %OUTPUT% ===
|
||||
) ELSE (
|
||||
echo === 构建失败,未找到输出文件 ===
|
||||
exit /b 1
|
||||
)
|
||||
Reference in New Issue
Block a user