1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-07-23 06:06:16 +08:00

Refactor: replace independent scheduled DowntimeFetch task with on-demand auto-fetch

This commit is contained in:
positnuec
2026-07-18 10:20:43 +08:00
parent 189645b97a
commit fbe037322a
21 changed files with 715 additions and 637 deletions

View File

@@ -622,6 +622,45 @@
}
}
},
"DowntimeMgmt": {
"Downtime": {
"Window": {
"type": "input",
"value": ""
},
"Title": {
"type": "input",
"value": "",
"display": "disabled"
}
},
"DowntimeStrategy": {
"AutoFetch": {
"type": "checkbox",
"value": false
},
"ManageExercise": {
"type": "checkbox",
"value": false
},
"ExerciseClearTime": {
"type": "input",
"value": "15:00:00"
},
"ManageDaily": {
"type": "checkbox",
"value": false
}
},
"Storage": {
"Storage": {
"type": "storage",
"value": {},
"valuetype": "ignore",
"display": "disabled"
}
}
},
"Restart": {
"Scheduler": {
"Enable": {
@@ -669,82 +708,6 @@
}
}
},
"DowntimeFetch": {
"Scheduler": {
"Enable": {
"type": "checkbox",
"value": false,
"option": [
true,
false
]
},
"NextRun": {
"type": "datetime",
"value": "2020-01-01 00:00:00",
"validate": "datetime"
},
"Command": {
"type": "input",
"value": "DowntimeFetch",
"display": "hide"
},
"SuccessInterval": {
"type": "input",
"value": 30,
"display": "hide"
},
"FailureInterval": {
"type": "input",
"value": 30,
"display": "hide"
},
"ServerUpdate": {
"type": "input",
"value": "22:30",
"display": "hide"
}
},
"Storage": {
"Storage": {
"type": "storage",
"value": {},
"valuetype": "ignore",
"display": "disabled"
}
}
},
"DowntimeMgmt": {
"Downtime": {
"Window": {
"type": "input",
"value": ""
},
"Title": {
"type": "input",
"value": "",
"display": "disabled"
}
},
"DowntimeStrategy": {
"ManageExercise": {
"type": "checkbox",
"value": false
},
"ManageDaily": {
"type": "checkbox",
"value": false
}
},
"Storage": {
"Storage": {
"type": "storage",
"value": {},
"valuetype": "ignore",
"display": "disabled"
}
}
},
"Main": {
"Scheduler": {
"Enable": {
@@ -14060,6 +14023,22 @@
}
}
},
"DowntimeFetch": {
"DowntimeFetch": {
"FetcherTest": {
"type": "checkbox",
"value": false
}
},
"Storage": {
"Storage": {
"type": "storage",
"value": {},
"valuetype": "ignore",
"display": "disabled"
}
}
},
"AzurLaneUncensored": {
"AzurLaneUncensored": {
"Repository": {