add: README

This commit is contained in:
cancerai committed 2026-10-21 14:04:39 +08:00
1 parent e6a0aa94de
commit 036ca7b179
2 files changed
+4

No files matched your search

Executable
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# 双击启动本地服务器并打开游戏
cd "$(dirname "$0")"
PORT=8123
python3 -m http.server "$PORT" >/dev/null 2>&1 &
SRV=$!
sleep 1.5
open "http://localhost:$PORT/"
echo "游戏已启动: http://localhost:$PORT/ (关闭本窗口即可停止服务器)"
wait $SRV