mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Feat(eventstory): start game when it is not running (#4817)
* feat: start game when it is not running * fix: remove useless import
This commit is contained in:
@@ -127,6 +127,10 @@ class EventStory(CampaignUI, Combat, LoginHandler):
|
||||
return 'unknown'
|
||||
|
||||
def run(self):
|
||||
if not self.device.app_is_running():
|
||||
logger.warning('Game is not running, start it')
|
||||
self.app_start()
|
||||
|
||||
self.run_event_story()
|
||||
|
||||
# Scheduler
|
||||
|
||||
Reference in New Issue
Block a user