This commit is contained in:
makeyangcom
2024-03-14 18:50:37 +08:00
parent be71d42a1b
commit 1e9d62a305

View File

@@ -14,7 +14,10 @@ if [ ! -d "/data/wwwroot/game" ]; then
mkdir -p /data/wwwroot/game
fi
sudo chmod +x /data/wwwroot/game/*
# shellcheck disable=SC2012
if [ "$(ls -A /data/wwwroot/game/ | wc -l)" -ne 0 ]; then
sudo chmod +x /data/wwwroot/game/*
fi
# 编译后端服务
cd /data/wwwroot/server/