Files
dianming/启动服务器.bat
2026-04-25 10:09:16 +08:00

23 lines
432 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
chcp 65001 >nul
echo ====================================
echo 点名系统启动脚本
echo ====================================
echo.
echo 正在检查Node.js...
node -v >nul 2>&1
if %errorlevel% neq 0 (
echo [错误] 未检测到Node.js请先安装Node.js
echo 下载地址: https://nodejs.org/
pause
exit /b 1
)
echo Node.js已安装
echo.
echo 正在启动服务器...
echo.
node server.js
pause