InterConnectServer / start.sh
GitHub Actions
Sync from GitHub (excluding README)
138f7fd
#!/bin/bash
echo "🚀 启动Minecraft WebSocket API服务器..."
echo "=================================================="
if [ ! -d "node_modules" ]; then
echo "📦 检测到缺少依赖,正在安装..."
npm install
fi
node src/server.js
echo ""
echo "=================================================="
echo "服务器进程已停止。"
echo "如果是异常退出,请查看上方日志。"
echo "按回车键退出..."
read