mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-03 06:48:52 -06:00
fix: read archive members under the collection
This commit is contained in:
1 parent
27dc26bd80
commit
95cbb5af1d
28 files changed
+104
-49
No files matched your search
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
from model.dbpaths import collection_root
|
||||
import argparse
|
||||
import contextlib
|
||||
import os
|
||||
@@ -97,7 +99,7 @@ def _run_hash_mode(args: argparse.Namespace) -> None:
|
||||
if print_hash_lookup(lookup_hashes(hashes, db, args.bios_dir)):
|
||||
sys.exit(1)
|
||||
return
|
||||
zip_contents = build_zip_contents_index(db)
|
||||
zip_contents = build_zip_contents_index(db, collection_root(Path(args.bios_dir)))
|
||||
try:
|
||||
with pack_output_lock(args.output_dir):
|
||||
outcome = generate_md5_pack(
|
||||
@@ -222,7 +224,7 @@ def run_pack_command(
|
||||
return args
|
||||
|
||||
db = load_database(args.db)
|
||||
zip_contents = build_zip_contents_index(db)
|
||||
zip_contents = build_zip_contents_index(db, collection_root(Path(args.bios_dir)))
|
||||
if args.emulator or (args.system and not args.platform and not args.all):
|
||||
_run_profile_mode(args, db, zip_contents)
|
||||
return args
|
||||
|
||||
Reference in new issue
Block a user