mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 21:37:22 +08:00
Opt: Check update event when switching task
This commit is contained in:
@@ -577,7 +577,6 @@ class AlasGUI(Frame):
|
||||
clear('updater_loading')
|
||||
clear('updater_state')
|
||||
clear('updater_btn')
|
||||
print(state)
|
||||
if state == 0:
|
||||
put_loading('border', 'secondary', 'updater_loading').style(
|
||||
"--loading-border-fill--")
|
||||
|
||||
@@ -88,6 +88,7 @@ class AlasManager:
|
||||
# Set server before loading any buttons.
|
||||
import module.config.server as server
|
||||
from module.config.config import AzurLaneConfig
|
||||
AzurLaneConfig.stop_event = e
|
||||
config = AzurLaneConfig(config_name=config_name)
|
||||
server.server = deep_get(
|
||||
config.data, keys='Alas.Emulator.Server', default='cn')
|
||||
|
||||
Reference in New Issue
Block a user