1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 15:39:26 +08:00

fix: call CloudPhoneRestart when it is first task

This commit is contained in:
0O0o0oOoO00
2025-05-18 21:26:29 +08:00
parent 3fbc52eaea
commit 35f3ffbf5f

View File

@@ -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