1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-20 23:45:36 +08:00

Opt: List tasks instead of collapsing them in submodules

This commit is contained in:
LmeSzinc
2023-06-17 22:08:57 +08:00
parent e3051c5aaa
commit 0c37354ed5
25 changed files with 598 additions and 509 deletions

View File

@@ -34,12 +34,12 @@ class ConfigGenerator(config_updater.ConfigGenerator):
deep_set(new, keys=k, value=v)
# Menu
for path, data in deep_iter(self.menu, depth=2):
func, group = path
deep_load(["Menu", func])
deep_load(["Menu", group])
for task in data:
deep_load([func, task])
for path, data in deep_iter(self.task, depth=3):
if 'tasks' not in path:
continue
task_group, _, task = path
deep_load(['Menu', task_group])
deep_load(['Task', task])
# Arguments
visited_group = set()
for path, data in deep_iter(self.argument, depth=2):