添加设备数量限制。修复误杀iproxy逻辑。

This commit is contained in:
2025-11-04 20:33:09 +08:00
parent 81761a576b
commit 486c84efb6
9 changed files with 134 additions and 53 deletions

View File

@@ -224,6 +224,11 @@ class ScriptManager():
self.comment_flow(filePath, session, udid, recomend_cx, recomend_cy)
event.wait(timeout=2)
home = AiUtils.findHomeButton(session)
if not home:
raise Exception("没有找到首页按钮,重置")
videoTime = random.randint(15, 30)
for _ in range(videoTime):
if event.is_set():