修复路径的问题
This commit is contained in:
parent
d8b43a7f83
commit
0db491bc01
|
@ -13,7 +13,7 @@ run_server() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 导航到相应的目录
|
# 导航到相应的目录
|
||||||
cd "$(dirname "$0")"/$server_name
|
cd server/$server_name
|
||||||
|
|
||||||
# 使用 screen 运行 go run <server_name>.go
|
# 使用 screen 运行 go run <server_name>.go
|
||||||
screen -dmS $server_name -L go run $server_name.go
|
screen -dmS $server_name -L go run $server_name.go
|
||||||
|
|
Loading…
Reference in New Issue
Block a user