mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 06:18:21 +08:00
Upd: Modified some options for restart emulator
This commit is contained in:
@@ -151,7 +151,7 @@ class LoginHandler(Combat):
|
||||
|
||||
def app_restart(self):
|
||||
logger.hr('App restart')
|
||||
if self.config.RestartEmulator_LaunchMode != 'do_not_use'\
|
||||
if self.config.RestartEmulator_Enable\
|
||||
and self.config.Scheduler_NextRun.strftime('%H:%M:%S') \
|
||||
== get_server_next_update(self.config.Scheduler_ServerUpdate).strftime('%H:%M:%S'):
|
||||
self.device.emulator_restart()
|
||||
|
||||
Reference in New Issue
Block a user