mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-08-19 20:55:05 +08:00
Fix: restrict restart on sensitive task failure only if logger used
This commit is contained in:
@@ -402,7 +402,7 @@
|
||||
"type": "checkbox",
|
||||
"value": true
|
||||
},
|
||||
"StrictRestart": {
|
||||
"RestrictRestart": {
|
||||
"type": "checkbox",
|
||||
"value": false
|
||||
},
|
||||
|
||||
@@ -84,7 +84,7 @@ EmulatorInfo:
|
||||
Error:
|
||||
HandleError: true
|
||||
SaveError: true
|
||||
StrictRestart: false
|
||||
RestrictRestart: false
|
||||
OnePushConfig:
|
||||
type: textarea
|
||||
mode: yaml
|
||||
|
||||
@@ -34,7 +34,7 @@ class GeneratedConfig:
|
||||
# Group `Error`
|
||||
Error_HandleError = True
|
||||
Error_SaveError = True
|
||||
Error_StrictRestart = False
|
||||
Error_RestrictRestart = False
|
||||
Error_OnePushConfig = 'provider: null'
|
||||
Error_ScreenshotLength = 1
|
||||
|
||||
|
||||
@@ -608,7 +608,9 @@ class ConfigUpdater:
|
||||
# ('Coalition.Coalition.Mode', 'Coalition.Coalition.Mode', coalition_to_frostfall),
|
||||
# 2025.06.26
|
||||
# ('Coalition.Coalition.Mode', 'Coalition.Coalition.Mode', coalition_to_little_academy),
|
||||
# 2026.08.16
|
||||
('OpsiShop.OpsiShop.DisableBeforeDate', 'OpsiShop.OpsiShop.DisableBeforeResetDays', date_to_reset_days),
|
||||
('Alas.Error.StrictRestart', 'Alas.Error.RestrictRestart'),
|
||||
]
|
||||
|
||||
# redirection += [
|
||||
|
||||
@@ -516,8 +516,8 @@
|
||||
"name": "Record Exception",
|
||||
"help": "Records exception and log into directory for review or sharing"
|
||||
},
|
||||
"StrictRestart": {
|
||||
"name": "Strict Restart",
|
||||
"RestrictRestart": {
|
||||
"name": "Restrict Restart",
|
||||
"help": "Stop Alas instead of restarting the game when running a sensitive task with an error.\nSensitive tasks include OpsiObscure, OpsiAbyssal and OpsiCrossMonth."
|
||||
},
|
||||
"OnePushConfig": {
|
||||
|
||||
@@ -516,9 +516,9 @@
|
||||
"name": "Error.SaveError.name",
|
||||
"help": "Error.SaveError.help"
|
||||
},
|
||||
"StrictRestart": {
|
||||
"name": "Error.StrictRestart.name",
|
||||
"help": "Error.StrictRestart.help"
|
||||
"RestrictRestart": {
|
||||
"name": "Error.RestrictRestart.name",
|
||||
"help": "Error.RestrictRestart.help"
|
||||
},
|
||||
"OnePushConfig": {
|
||||
"name": "Error.OnePushConfig.name",
|
||||
|
||||
@@ -516,7 +516,7 @@
|
||||
"name": "出错时,保存 Log 和截图",
|
||||
"help": ""
|
||||
},
|
||||
"StrictRestart": {
|
||||
"RestrictRestart": {
|
||||
"name": "敏感任务出错时禁止重启",
|
||||
"help": "运行敏感任务出错时停止Alas,而不是重启游戏\n敏感任务包含隐秘海域、深渊海域、跨月每日"
|
||||
},
|
||||
|
||||
@@ -516,7 +516,7 @@
|
||||
"name": "出錯時,保存 Log 和截圖",
|
||||
"help": ""
|
||||
},
|
||||
"StrictRestart": {
|
||||
"RestrictRestart": {
|
||||
"name": "敏感任務出錯時禁止重啟",
|
||||
"help": "運行敏感任務出錯時停止Alas,而不是重啟遊戲\n敏感任務包含隱秘海域、深淵海域、跨月每日"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user