def generate_prototype_list(friendly=False):
    """Generate a list of all prototype files."""
    import glob
    import os
    folder = os.path.expanduser('~/.local/share/applications/')
    pattern = folder + 'one.liberty.*'
    result = glob.glob(pattern)
    if not friendly:
        return result
    elif len(result) == 0:
        return 'No prototype files found.'
    else:
        return ', '.join(result).replace(os.environ['HOME'], '~')
