1
0
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:
whoamikyo
2021-02-11 06:24:16 -03:00
parent a154c12569
commit 95c1008e5a
14 changed files with 71 additions and 23 deletions

View File

@@ -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'])