1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-05-16 03:24:04 +08:00

Refactor: OS module

- Refactor OS explore, able to run without 5000 oil item
- Fix: Screenshot interval recover
This commit is contained in:
LmeSzinc
2021-09-26 07:44:26 +08:00
parent e1f6df02bd
commit a52826594e
25 changed files with 927 additions and 280 deletions

View File

@@ -109,8 +109,9 @@ class ConfigGenerator:
# Set command
for task in self.task.keys():
deep_set(data, keys=f'{task}.Scheduler.Command.value', value=task)
deep_set(data, keys=f'{task}.Scheduler.Command.type', value='disable')
if deep_get(data, keys=f'{task}.Scheduler.Command'):
deep_set(data, keys=f'{task}.Scheduler.Command.value', value=task)
deep_set(data, keys=f'{task}.Scheduler.Command.type', value='disable')
write_file(filepath_args(), data)
return data