From 35f3ffbf5f7a886f0d4773ee29c6f6a8991a8da2 Mon Sep 17 00:00:00 2001 From: 0O0o0oOoO00 <11174151+0O0o0oOoO00@users.noreply.github.com> Date: Sun, 18 May 2025 21:26:29 +0800 Subject: [PATCH] fix: call CloudPhoneRestart when it is first task --- alas.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/alas.py b/alas.py index 112833c3d..43cd324e8 100644 --- a/alas.py +++ b/alas.py @@ -706,6 +706,11 @@ class AzurLaneAutoScript: del_cached_property(self, 'config') continue + if task == "CloudPhoneRestart" and self.is_first_task: + self.run(inflection.underscore(task)) + self.is_first_task = False + continue + if self.is_azur and not self.device.app_is_running(): self.config.task_call('Restart') self.is_first_task = False