[feature] 更新脚本,定义统一入口
This commit is contained in:
parent
33d9f2eff1
commit
6fdccf22ff
|
@ -73,7 +73,8 @@ cp.Command("maa update")
|
||||||
cp.Command("maa self update")
|
cp.Command("maa self update")
|
||||||
# fire it up
|
# fire it up
|
||||||
cp.Command("docker stop redroid")
|
cp.Command("docker stop redroid")
|
||||||
os.chdir("/home/lichx/.config/redroid-rk3588/")
|
redroid_path = os.getenv('redroid_path', "/home/lichx/.config/redroid-rk3588/")
|
||||||
|
os.chdir(redroid_path)
|
||||||
cp.Command("docker compose up -d")
|
cp.Command("docker compose up -d")
|
||||||
time.sleep(15)
|
time.sleep(15)
|
||||||
cp.RetryCommand("adb connect localhost:5555")
|
cp.RetryCommand("adb connect localhost:5555")
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
./ArknightsMaaConfig/maa.py
|
Loading…
Reference in New Issue