mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-27 21:12: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
|
|
@ -61,7 +61,7 @@ class Exporter(BaseExporter):
|
|||
if name.startswith("_") or self._is_pattern(name):
|
||||
continue
|
||||
|
||||
dest = fe.get("destination", name)
|
||||
dest = self._dest(fe)
|
||||
# Recalbox paths include system prefix
|
||||
path = f"{native_id}/{dest}" if "/" not in dest else dest
|
||||
|
||||
|
|
@ -113,7 +113,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 name not in exported_paths and dest not in exported_paths:
|
||||
issues.append(f"missing: {name}")
|
||||
return issues
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue