mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-17 01:52:48 +00:00
fix: system icons (systematic theme), retropie logo
This commit is contained in:
parent
a52ab19cf8
commit
81278bd2e4
2 changed files with 5 additions and 2 deletions
|
|
@ -33,6 +33,7 @@ SITE_NAME = "RetroBIOS"
|
|||
REPO_URL = "https://github.com/Abdess/retrobios"
|
||||
RELEASE_URL = f"{REPO_URL}/releases/latest"
|
||||
GENERATED_DIRS = ["platforms", "systems", "emulators"]
|
||||
SYSTEM_ICON_BASE = "https://raw.githubusercontent.com/libretro/retroarch-assets/master/xmb/systematic/png"
|
||||
|
||||
|
||||
def _timestamp() -> str:
|
||||
|
|
@ -285,7 +286,9 @@ def generate_system_page(
|
|||
|
||||
for console_name in sorted(consoles.keys()):
|
||||
files = consoles[console_name]
|
||||
lines.append(f"## {console_name}")
|
||||
icon_name = f"{manufacturer} - {console_name}".replace("/", " ")
|
||||
icon_url = f"{SYSTEM_ICON_BASE}/{icon_name.replace(' ', '%20')}.png"
|
||||
lines.append(f"## {{ width=24 }} {console_name}")
|
||||
lines.append("")
|
||||
# Separate main files from variants
|
||||
main_files = [f for f in files if "/.variants/" not in f["path"]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue