@echo off rem 启动 GM 页本地服务(127.0.0.1:18112)。pythonw 不留黑窗口。 rem token 与 admin 端口由 serve.py 自动从 runtime\config\instance.json 读取。 setlocal cd /d "%~dp0" set PYW=pythonw.exe where pythonw.exe >nul 2>nul || set PYW=python.exe start "" %PYW% "%~dp0serve.py" --port 18112 echo 已在后台启动:http://127.0.0.1:18112/ timeout /t 2 >nul