1
0
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:
0O0o0oOoO00
2025-09-13 00:08:48 +08:00
parent 2defdd6f4b
commit 8d7f718285
11 changed files with 52 additions and 1 deletions

View File

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