mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-13 12:22:33 -05:00
feat: flatten zips, standalone copies, retropie grouping
This commit is contained in:
@@ -743,15 +743,13 @@ def group_identical_platforms(
|
||||
inherits[platform] = False
|
||||
continue
|
||||
|
||||
base_dest = config.get("base_destination", "")
|
||||
entries = []
|
||||
for sys_id, system in sorted(config.get("systems", {}).items()):
|
||||
for fe in system.get("files", []):
|
||||
dest = fe.get("destination", fe.get("name", ""))
|
||||
full_dest = f"{base_dest}/{dest}" if base_dest else dest
|
||||
sha1 = fe.get("sha1", "")
|
||||
md5 = fe.get("md5", "")
|
||||
entries.append(f"{full_dest}|{sha1}|{md5}")
|
||||
entries.append(f"{dest}|{sha1}|{md5}")
|
||||
|
||||
fp = hashlib.sha1("|".join(sorted(entries)).encode()).hexdigest()
|
||||
if target_cores_cache:
|
||||
|
||||
@@ -974,10 +974,7 @@ def _build_readme(
|
||||
credits = "\nCONTRIBUTORS\n\n"
|
||||
for cb in contributors:
|
||||
username = cb.get("username", "")
|
||||
contribution = cb.get("contribution", "")
|
||||
pr = cb.get("pr")
|
||||
pr_ref = f" (#{pr})" if pr else ""
|
||||
credits += f" @{username} - {contribution}{pr_ref}\n"
|
||||
credits += f" @{username}\n"
|
||||
credits += "\n"
|
||||
|
||||
return header + source_info + guide + credits + footer
|
||||
|
||||
@@ -2215,6 +2215,7 @@ def generate_mkdocs_nav(
|
||||
|
||||
return [
|
||||
{"Home": "index.md"},
|
||||
{"Which pack?": "which-pack.md"},
|
||||
{"Platforms": platform_nav},
|
||||
{"Systems": system_nav},
|
||||
{"Emulators": emu_nav},
|
||||
|
||||
Reference in New Issue
Block a user