mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-18 02:12:47 +00:00
fix: include source/req tags in grouped pack rename
This commit is contained in:
parent
59d777a33d
commit
97e26103f5
1 changed files with 3 additions and 1 deletions
|
|
@ -2613,9 +2613,11 @@ def _run_platform_packs(
|
|||
load_platform_config(p, args.platforms_dir).get("platform", p)
|
||||
for p in group_platforms
|
||||
]
|
||||
source_tag = {"platform": "_Platform", "truth": "_Truth"}.get(source, "")
|
||||
req_tag = "_Required" if required_only else ""
|
||||
combined = (
|
||||
"_".join(n.replace(" ", "") for n in all_names)
|
||||
+ f"{ver_tag}_BIOS_Pack.zip"
|
||||
+ f"{ver_tag}{source_tag}{req_tag}_BIOS_Pack.zip"
|
||||
)
|
||||
new_path = os.path.join(os.path.dirname(zip_path), combined)
|
||||
if new_path != zip_path:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue