v0.01
This commit is contained in:
commit
234e769f4d
34 files changed
+4667
No files matched your search
Executable
+10
@@ -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
|
||||
Reference in new issue
Block a user