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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user