mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +08:00
Added: added toast notifications support to windows 10
This commit is contained in:
@@ -22,6 +22,7 @@ class AzurLaneConfig:
|
||||
start_time = datetime.now()
|
||||
|
||||
UPDATE_CHECK = True
|
||||
ENABLE_NOTIFICATIONS = True
|
||||
UPDATE_METHOD = 'api' # web, api
|
||||
UPDATE_PROXY = ''
|
||||
GITHUB_TOKEN = ''
|
||||
@@ -558,6 +559,7 @@ class AzurLaneConfig:
|
||||
|
||||
option = config['Setting']
|
||||
# Stop condition
|
||||
self.ENABLE_NOTIFICATIONS = to_bool(option['enable_notifications'])
|
||||
self.ENABLE_STOP_CONDITION = to_bool(option['enable_stop_condition'])
|
||||
self.ENABLE_EXCEPTION = to_bool(option['enable_exception'])
|
||||
self.ENABLE_FAST_FORWARD = to_bool(option['enable_fast_forward'])
|
||||
|
||||
Reference in New Issue
Block a user