fix: name a system pack apart from an emulator one

This commit is contained in:
Abdessamad Derraz committed 2026-10-10 08:04:04 +02:00
1 parent 9002a4a4bb
commit e6905f48e7
2 files changed
+57 -1

No files matched your search

+6 -1
View File
@@ -1654,7 +1654,12 @@ def generate_system_pack(
"full", regions, None, False, required_only, standalone=standalone
)
)
new_path = os.path.join(output_dir, f"{sys_display}{tags}_BIOS_Pack.zip")
# The selection mode is part of the name: `--system sega-triforce`
# and `--emulator triforce` both wrote Triforce_BIOS_Pack.zip, and
# the second run replaced the first without a word.
new_path = os.path.join(
output_dir, f"{sys_display}_System{tags}_BIOS_Pack.zip"
)
os.replace(result, new_path)
return new_path
finally: