fix: exporters use _dest fallback, merge colliding systems, per-platform subdirs

This commit is contained in:
Abdessamad Derraz
2026-03-30 17:15:44 +02:00
parent 0be68edad0
commit 4fbb3571f8
7 changed files with 48 additions and 22 deletions

View File

@@ -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