feat: add serve.sh and serve.cmd startup scripts for Scene Skill Generator

🤖 Generated with [Qoder][https://qoder.com]
This commit is contained in:
木炎
2026-04-16 22:25:34 +08:00
parent d00086a70b
commit 6c1865eb1c
2 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
@echo off
setlocal
set PORT=%1
if "%PORT%"=="" set PORT=3210
set SG_SCENE_GENERATOR_PORT=%PORT%
echo.
echo +==================================================+
echo ^| sgClaw Scene Skill Generator ^|
echo +==================================================+
echo ^| ^|
echo ^| 访问地址: http://127.0.0.1:%PORT%/ ^|
echo ^| ^|
echo ^| 按 Ctrl+C 停止服务 ^|
echo +==================================================+
echo.
cd /d "%~dp0"
node server.js