mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 05:08:19 +08:00
@@ -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('../../')
|
||||
|
||||
Reference in New Issue
Block a user