mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-17 14:22:32 -05:00
fix: verify and add manifests to split packs
This commit is contained in:
@@ -1497,6 +1497,13 @@ def main():
|
|||||||
skip_conf = bool(system_filter or args.split)
|
skip_conf = bool(system_filter or args.split)
|
||||||
all_ok = verify_and_finalize_packs(args.output_dir, db,
|
all_ok = verify_and_finalize_packs(args.output_dir, db,
|
||||||
skip_conformance=skip_conf)
|
skip_conformance=skip_conf)
|
||||||
|
# Also verify split subdirectories
|
||||||
|
if args.split:
|
||||||
|
for entry in os.listdir(args.output_dir):
|
||||||
|
sub = os.path.join(args.output_dir, entry)
|
||||||
|
if os.path.isdir(sub) and entry.endswith("_Split"):
|
||||||
|
ok = verify_and_finalize_packs(sub, db, skip_conformance=True)
|
||||||
|
all_ok = all_ok and ok
|
||||||
if not all_ok:
|
if not all_ok:
|
||||||
print("WARNING: some packs have verification errors")
|
print("WARNING: some packs have verification errors")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user