mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-28 13:22:48 +00:00
fix: exporters use _dest fallback, merge colliding systems, per-platform subdirs
This commit is contained in:
parent
0be68edad0
commit
4fbb3571f8
7 changed files with 48 additions and 22 deletions
|
|
@ -53,7 +53,7 @@ class Exporter(BaseExporter):
|
|||
name = fe.get("name", "")
|
||||
if name.startswith("_") or self._is_pattern(name):
|
||||
continue
|
||||
dest = fe.get("destination", name)
|
||||
dest = self._dest(fe)
|
||||
md5 = fe.get("md5", "")
|
||||
if isinstance(md5, list):
|
||||
md5 = md5[0] if md5 else ""
|
||||
|
|
@ -85,7 +85,7 @@ class Exporter(BaseExporter):
|
|||
name = fe.get("name", "")
|
||||
if name.startswith("_") or self._is_pattern(name):
|
||||
continue
|
||||
dest = fe.get("destination", name)
|
||||
dest = self._dest(fe)
|
||||
if dest not in content and name not in content:
|
||||
issues.append(f"missing: {name}")
|
||||
return issues
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue