mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 11:19:26 +08:00
add: update every time and restart every time setting for hook
This commit is contained in:
2
alas.py
2
alas.py
@@ -891,7 +891,7 @@ class AzurLaneAutoScript(AzurLaneAutoScript):
|
||||
)
|
||||
self.scheduler_watcher = watcher
|
||||
|
||||
if self.is_azur and self.config.full_config.Hook_HookGeneral_Enable:
|
||||
if self.is_azur and self.config.full_config.Hook_HookGeneral_Enable and self.config.full_config.Hook_HookGeneral_RestartEveryTime:
|
||||
logger.info("Hook enabled, do restart")
|
||||
self.restart()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user