更新run_all.sh

This commit is contained in:
lichx 2025-01-14 23:01:26 +08:00
parent 6fdccf22ff
commit fffc1daed7
1 changed files with 8 additions and 1 deletions

View File

@ -1,2 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
./ArknightsMaaConfig/maa.py SCRIPT_DIR=$(dirname $(readlink -f "$0"))
MAA_PY="$SCRIPT_DIR/ArknightsMaaConfig/maa.py"
if [ -x "$MAA_PY" ]; then
"$MAA_PY"
else
python3 "$MAA_PY"
fi