Example #1
0
def determine_manifest_path(context, providedName):
    if providedName == None:
        manifest_path = _get_default_manifest_path(context)
    else:
        manifest_path = os.path.join(
            dynamic_content_settings.get_manifest_game_folder(
                context.config.game_directory_path), providedName)
    return manifest_path
Example #2
0
def _get_default_manifest_path(context):
    base_path = dynamic_content_settings.get_manifest_game_folder(
        context.config.game_directory_path)
    return_path = os.path.join(
        base_path, dynamic_content_settings.get_default_manifest_name())
    return return_path