mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 14:28:54 -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,9 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
from core.paths import BIOS_DIR
|
||||
from model.dbpaths import collection_root
|
||||
from model.registry import load_data_dir_registry
|
||||
|
||||
|
||||
@@ -29,5 +32,5 @@ def comparison_inputs(
|
||||
|
||||
db = load_database(db_path)
|
||||
groups = group_identical_platforms(list_registered_platforms(platforms_dir), platforms_dir)
|
||||
return (db, build_zip_contents_index(db), load_emulator_profiles(emulators_dir),
|
||||
return (db, build_zip_contents_index(db, collection_root(Path(BIOS_DIR))), load_emulator_profiles(emulators_dir),
|
||||
load_data_dir_registry(platforms_dir), groups)
|
||||
@@ -2,10 +2,12 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
from model.dbpaths import collection_root
|
||||
import contextlib
|
||||
import io
|
||||
|
||||
from core.paths import DB_FILE, EMULATORS_DIR, PLATFORMS_DIR
|
||||
from core.paths import BIOS_DIR, DB_FILE, EMULATORS_DIR, PLATFORMS_DIR
|
||||
from model.profiles import reads_own_files
|
||||
from orchestrate.compare import set_difference_lines
|
||||
from orchestrate.labels import STEP_LABELS, step_title
|
||||
@@ -66,7 +68,7 @@ def check_emulator_packs(
|
||||
|
||||
print(f"\n--- {step_title(STEP_LABELS['consistency'])}, emulator packs ---")
|
||||
db = load_database(db_path)
|
||||
zip_contents = build_zip_contents_index(db)
|
||||
zip_contents = build_zip_contents_index(db, collection_root(Path(BIOS_DIR)))
|
||||
profiles = load_emulator_profiles(emulators_dir, skip_aliases=False)
|
||||
|
||||
def compare(names: list[str], standalone: bool, label: str, **narrowing: object) -> bool | None:
|
||||
|
||||
Reference in new issue
Block a user