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:
5
alas.py
5
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
|
||||
|
||||
Reference in New Issue
Block a user