|
@@ -16,6 +16,7 @@ def execute(game, sdk, config):
|
|
subChannel = config['subChannel']
|
|
subChannel = config['subChannel']
|
|
|
|
|
|
createJmhyProperties(game, sdk, subChannel, config)
|
|
createJmhyProperties(game, sdk, subChannel, config)
|
|
|
|
+ createEjyxProperties(game, sdk, subChannel, config)
|
|
#ret = deleteSplash(game, sdk, subChannel, config)
|
|
#ret = deleteSplash(game, sdk, subChannel, config)
|
|
ret = generateV7RFile(game, sdk, subChannel, config)
|
|
ret = generateV7RFile(game, sdk, subChannel, config)
|
|
if ret:
|
|
if ret:
|
|
@@ -44,6 +45,20 @@ def checkConfig(config):
|
|
return True
|
|
return True
|
|
|
|
|
|
def createJmhyProperties(game, sdk, subChannel, config):
|
|
def createJmhyProperties(game, sdk, subChannel, config):
|
|
|
|
+ '''
|
|
|
|
+ 创建jmhy.properties
|
|
|
|
+ '''
|
|
|
|
+ print('create jmhy.properties')
|
|
|
|
+ propValue = config['properties']
|
|
|
|
+ decompliePath = file_utils.getDecompliePath(game, sdk, subChannel, config['cache'])
|
|
|
|
+ properties = os.path.join(decompliePath, 'assets', 'jmhy.properties')
|
|
|
|
+ content = ''
|
|
|
|
+ for key in propValue:
|
|
|
|
+ content = '%s%s=%s\n' % (content, key, propValue[key])
|
|
|
|
+ file_utils.createFile(properties, content)
|
|
|
|
+ return 0
|
|
|
|
+
|
|
|
|
+def createEjyxProperties(game, sdk, subChannel, config):
|
|
'''
|
|
'''
|
|
创建jmhy.properties
|
|
创建jmhy.properties
|
|
'''
|
|
'''
|