Example #1
0
def write_develop_info(game, channel, decompile_dir):
    assets_path = os.path.join(decompile_dir, 'assets')
    if not os.path.exists(assets_path):
        os.makedirs(assets_path)
    develop_config_file = os.path.join(assets_path,
                                       'developer_configs_ss.properties')
    ret = Utils.write_developer_properties(game, channel, develop_config_file)
    if ret:
        return ret
    plugin_file = os.path.join(assets_path, 'plugin_configs_ss.xml')
    return Utils.write_plugin_config(channel, plugin_file)