修复路径的问题

This commit is contained in:
eson 2023-07-10 13:10:43 +08:00
parent d8b43a7f83
commit 0db491bc01

View File

@ -13,7 +13,7 @@ run_server() {
fi
# 导航到相应的目录
cd "$(dirname "$0")"/$server_name
cd server/$server_name
# 使用 screen 运行 go run <server_name>.go
screen -dmS $server_name -L go run $server_name.go