From 13c0cb9b8bd8d6a3ceaea3d1f0d524f6d1cf6e14 Mon Sep 17 00:00:00 2001 From: li_chx <751176501@qq.com> Date: Sat, 5 Apr 2025 17:14:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20run=5Fall.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run_all.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run_all.sh b/run_all.sh index c1d9ac9..cf31c50 100755 --- a/run_all.sh +++ b/run_all.sh @@ -3,7 +3,8 @@ SCRIPT_DIR=$(dirname $(readlink -f "$0")) MAA_PY="$SCRIPT_DIR/ArknightsMaaConfig/maa.py" MAA_LOG_DIR="${MAA_LOG:-/var/log/maa.log}" - +cd $SCRIPT_DIR +git fetch origin && git reset --hard origin/master && git pull if [ -x "$MAA_PY" ]; then "$MAA_PY" > "$MAA_LOG_DIR/maa_pyshell.log" 2>&1 else