[fixbug] 取消maa部分和git部分的proxy

This commit is contained in:
2026-01-24 12:21:07 +08:00
parent 070eedd1f8
commit 6ed6823204
2 changed files with 55 additions and 11 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ 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
http_proxy="" https_proxy="" git fetch origin && http_proxy="" https_proxy="" git reset --hard origin/master && http_proxy="" https_proxy="" git pull
if [ -x "$MAA_PY" ]; then
"$MAA_PY" > "$MAA_LOG_DIR/maa_pyshell.log" 2>&1
else