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

Upd: Support MAA v5.2.3-alpha.1.d011.g704145a3d (#3714)

undefined
This commit is contained in:
星ノ谷绫沫
2024-05-02 18:01:32 +08:00
committed by GitHub
parent 152f5b596a
commit cf0b8d39c9
11 changed files with 212 additions and 11 deletions

View File

@@ -1,6 +1,3 @@
import sys
sys.path.append('i:/AzurLaneAutoScript')
from cached_property import cached_property
from module.base.timer import timer
@@ -52,7 +49,7 @@ class ConfigGenerator(config_updater.ConfigGenerator):
deep_load(path)
if 'option' in data:
deep_load(path, words=data['option'], default=False)
# GUI i18n
for path, _ in deep_iter(self.gui, depth=2):
group, key = path
@@ -127,6 +124,7 @@ if __name__ == '__main__':
"""
# Ensure running in mod root folder
import os
os.chdir(os.path.join(os.path.dirname(__file__), "../../"))
ConfigGenerator().generate()
os.chdir('../../')