[feature] 更新脚本,定义统一入口
This commit is contained in:
@@ -73,7 +73,8 @@ cp.Command("maa update")
|
||||
cp.Command("maa self update")
|
||||
# fire it up
|
||||
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")
|
||||
time.sleep(15)
|
||||
cp.RetryCommand("adb connect localhost:5555")
|
||||
|
||||
Reference in New Issue
Block a user