1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 15:36:59 +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

@@ -133,6 +133,9 @@ def main(ini_name=''):
# 選擇關卡
stage = setting_parser.add_argument_group('關卡設定', '需要執行一次來保存選項', gooey_options={'label_color': '#931D03'})
stage.add_argument('--enable_notifications', default=default('--enable_notifications'), choices=['yes', 'no'],
help='If enabled will send toast notifications, Windows 10 Only.',
gooey_options={'label_color': '#4B5F83'})
stage.add_argument('--啟用停止條件', default=default('--啟用停止條件'), choices=['', ''], gooey_options={'label_color': '#4B5F83'})
stage.add_argument('--啟用異常處理', default=default('--啟用異常處理'), choices=['', ''], help='處理部分異常, 執行出錯時撤退', gooey_options={'label_color': '#4B5F83'})
stage.add_argument('--使用周回模式', default=default('--使用周回模式'), choices=['', ''], gooey_options={'label_color': '#4B5F83'})