@echo off setlocal cd /d "%~dp0" echo ==== 启动网页预览服务器 (后台运行, 无 PowerShell 窗口) ==== powershell -NoProfile -ExecutionPolicy Bypass -File "tools\serve-web-bg.ps1" -Root "release\web_2026.09" echo. echo ==== 检查服务 ==== curl.exe -s -o nul -w "web : %%{http_code}\n" http://localhost:8080/index.html echo. echo 浏览器访问: http://localhost:8080 echo 停止服务: powershell -File tools\serve-web-bg.ps1 -Stop echo 查看状态: powershell -File tools\serve-web-bg.ps1 -Status echo. pause endlocal