mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Opt: Hide SuccessInterval, FailureInterval and ServerUpdate (#1099)
They are not used actually
This commit is contained in:
@@ -232,15 +232,15 @@
|
|||||||
"value": "Main"
|
"value": "Main"
|
||||||
},
|
},
|
||||||
"SuccessInterval": {
|
"SuccessInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 0
|
"value": 0
|
||||||
},
|
},
|
||||||
"FailureInterval": {
|
"FailureInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 120
|
"value": 120
|
||||||
},
|
},
|
||||||
"ServerUpdate": {
|
"ServerUpdate": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": "00:00"
|
"value": "00:00"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -588,15 +588,15 @@
|
|||||||
"value": "Main2"
|
"value": "Main2"
|
||||||
},
|
},
|
||||||
"SuccessInterval": {
|
"SuccessInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 0
|
"value": 0
|
||||||
},
|
},
|
||||||
"FailureInterval": {
|
"FailureInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 120
|
"value": 120
|
||||||
},
|
},
|
||||||
"ServerUpdate": {
|
"ServerUpdate": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": "00:00"
|
"value": "00:00"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -944,15 +944,15 @@
|
|||||||
"value": "Main3"
|
"value": "Main3"
|
||||||
},
|
},
|
||||||
"SuccessInterval": {
|
"SuccessInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 0
|
"value": 0
|
||||||
},
|
},
|
||||||
"FailureInterval": {
|
"FailureInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 120
|
"value": 120
|
||||||
},
|
},
|
||||||
"ServerUpdate": {
|
"ServerUpdate": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": "00:00"
|
"value": "00:00"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1300,15 +1300,15 @@
|
|||||||
"value": "GemsFarming"
|
"value": "GemsFarming"
|
||||||
},
|
},
|
||||||
"SuccessInterval": {
|
"SuccessInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 0
|
"value": 0
|
||||||
},
|
},
|
||||||
"FailureInterval": {
|
"FailureInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 120
|
"value": 120
|
||||||
},
|
},
|
||||||
"ServerUpdate": {
|
"ServerUpdate": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": "00:00"
|
"value": "00:00"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1681,15 +1681,15 @@
|
|||||||
"value": "Event"
|
"value": "Event"
|
||||||
},
|
},
|
||||||
"SuccessInterval": {
|
"SuccessInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 0
|
"value": 0
|
||||||
},
|
},
|
||||||
"FailureInterval": {
|
"FailureInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 120
|
"value": 120
|
||||||
},
|
},
|
||||||
"ServerUpdate": {
|
"ServerUpdate": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": "00:00"
|
"value": "00:00"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2088,15 +2088,15 @@
|
|||||||
"value": "Event2"
|
"value": "Event2"
|
||||||
},
|
},
|
||||||
"SuccessInterval": {
|
"SuccessInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 0
|
"value": 0
|
||||||
},
|
},
|
||||||
"FailureInterval": {
|
"FailureInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 120
|
"value": 120
|
||||||
},
|
},
|
||||||
"ServerUpdate": {
|
"ServerUpdate": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": "00:00"
|
"value": "00:00"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3703,15 +3703,15 @@
|
|||||||
"value": "Raid"
|
"value": "Raid"
|
||||||
},
|
},
|
||||||
"SuccessInterval": {
|
"SuccessInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 0
|
"value": 0
|
||||||
},
|
},
|
||||||
"FailureInterval": {
|
"FailureInterval": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": 120
|
"value": 120
|
||||||
},
|
},
|
||||||
"ServerUpdate": {
|
"ServerUpdate": {
|
||||||
"type": "input",
|
"type": "hide",
|
||||||
"value": "00:00"
|
"value": "00:00"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,9 +8,15 @@ Scheduler:
|
|||||||
Enable: false
|
Enable: false
|
||||||
NextRun: 2020-01-01 00:00:00
|
NextRun: 2020-01-01 00:00:00
|
||||||
Command: Alas
|
Command: Alas
|
||||||
SuccessInterval: 0
|
SuccessInterval:
|
||||||
FailureInterval: 120
|
value: 0
|
||||||
ServerUpdate: 00:00
|
type: hide
|
||||||
|
FailureInterval:
|
||||||
|
value: 120
|
||||||
|
type: hide
|
||||||
|
ServerUpdate:
|
||||||
|
value: 00:00
|
||||||
|
type: hide
|
||||||
Emulator:
|
Emulator:
|
||||||
Serial:
|
Serial:
|
||||||
value: auto
|
value: auto
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ class ConfigGenerator:
|
|||||||
lines.append(f' {path_to_arg(path)} = {repr(parse_value(data["value"], data=data))}{option}')
|
lines.append(f' {path_to_arg(path)} = {repr(parse_value(data["value"], data=data))}{option}')
|
||||||
visited_path.add(path)
|
visited_path.add(path)
|
||||||
|
|
||||||
with open(filepath_code(), 'w', encoding='utf-8') as f:
|
with open(filepath_code(), 'w', encoding='utf-8', newline='') as f:
|
||||||
for text in lines:
|
for text in lines:
|
||||||
f.write(text + '\n')
|
f.write(text + '\n')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user