update
This commit is contained in:
@@ -68,7 +68,7 @@ def TaskFailRetry(command:str)->int:
|
||||
cp.RetryCommand("maa run startup")
|
||||
return result
|
||||
# update
|
||||
#cp.Command("maa update")
|
||||
cp.Command("maa update")
|
||||
cp.Command("maa self update")
|
||||
# fire it up
|
||||
cp.Command("docker stop redroid")
|
||||
@@ -81,10 +81,11 @@ time.sleep(15)
|
||||
cp.RetryCommand(f"adb connect {adb_address}")
|
||||
cp.RetryCommand(f"adb -s {adb_address} shell am start --windowingMode 4 com.hypergryph.arknights/com.u8.sdk.U8UnityContext")
|
||||
# run maa
|
||||
haveError |= TaskFailRetry("maa run fight") != 0
|
||||
|
||||
haveError |= TaskFailRetry("maa run startup") != 0
|
||||
haveError |= TaskFailRetry("maa run recruit") != 0
|
||||
haveError |= TaskFailRetry("maa run infrast") != 0
|
||||
haveError |= TaskFailRetry("maa run fight") != 0
|
||||
haveError |= TaskFailRetry("maa run mall") != 0
|
||||
haveError |= TaskFailRetry("maa run award") != 0
|
||||
# storage error log
|
||||
|
||||
Reference in New Issue
Block a user