mirror of
https://github.com/MiSTer-devel/Distribution_MiSTer.git
synced 2026-05-17 03:03:37 +00:00
Update download_distribution.py
This commit is contained in:
committed by
GitHub
parent
5093626902
commit
055cd82050
5
.github/download_distribution.py
vendored
5
.github/download_distribution.py
vendored
@@ -155,12 +155,13 @@ def fetch_cores() -> List[CoreProps]:
|
||||
name = matches.group(1).strip()
|
||||
url = matches.group(2).strip()
|
||||
home = columns[2].strip()
|
||||
comments = columns[3].strip() if len(columns) > 3 else ''
|
||||
if 'MiSTer-devel/Menu_MiSTer' in url:
|
||||
print('Ignoring menu core on cores list parsing.')
|
||||
elif category is None:
|
||||
raise ValueError('ERROR! Missing category!')
|
||||
else:
|
||||
result.append({'name': name, 'url': url, 'home': home, 'category': category})
|
||||
result.append({'name': name, 'url': url, 'home': home, 'comments': comments, 'category': category})
|
||||
|
||||
elif reading_arcade_list:
|
||||
if 'arcade_list_end' in line:
|
||||
@@ -429,7 +430,7 @@ def impl_install_generic_core(path: str, target_dir: str, core: CoreProps, metad
|
||||
|
||||
if is_doc(file):
|
||||
copy_file(f"{releases_dir}/{file}", f'{target_dir}/docs/{folder}/{file}')
|
||||
else:
|
||||
elif core.get('comments', '').lower() != 'ignore-extra-releases-files':
|
||||
copy_file(f"{releases_dir}/{file}", f'{target_dir}/games/{folder}/{file}')
|
||||
|
||||
if touch_games_folder:
|
||||
|
||||
Reference in New Issue
Block a user