|
@@ -548,14 +548,14 @@ def addConfig(game, sdk, subChannel, config):
|
|
|
'''
|
|
|
添加config.json
|
|
|
'''
|
|
|
- if 'recordConfig' not in config:
|
|
|
- print('recordConfig is null')
|
|
|
+ if 'configData' not in config:
|
|
|
+ print('configData is null')
|
|
|
return 0
|
|
|
|
|
|
print('add config.json...')
|
|
|
decompliePath = file_utils.getDecompliePath(game, sdk, subChannel, config['cache'])
|
|
|
configJson = os.path.join(decompliePath, 'assets', 'tool_config.json')
|
|
|
- jsonText = json.dumps(config['recordConfig'], ensure_ascii=False)
|
|
|
+ jsonText = json.dumps(config['configData'], ensure_ascii=False)
|
|
|
file_utils.createFile(configJson, jsonText)
|
|
|
return 0
|
|
|
|