fix: manifest dest paths relative to bios dir

This commit is contained in:
Abdessamad Derraz
2026-03-28 18:42:19 +01:00
parent 8777706a01
commit 080cc8f19d
11 changed files with 7220 additions and 4255 deletions

View File

@@ -507,6 +507,22 @@ def main() -> None:
os_type = detect_os()
# Early exit for listing
if args.list_platforms:
available = [
"retroarch", "batocera", "recalbox", "retrobat",
"emudeck", "lakka", "retrodeck", "romm", "bizhawk",
]
print("Available platforms:")
for p in available:
print(f" {p}")
detected = detect_platforms(os_type)
if detected:
print("\nDetected on this system:")
for name, path in detected:
print(f" {name}: {path}")
return
# Platform detection or override
if args.platform and args.dest:
platforms = [(args.platform, args.dest)]
@@ -532,13 +548,6 @@ def main() -> None:
for name, path in platforms:
print(f" Found {name.capitalize()} at {path}")
if args.list_platforms:
if not platforms:
platforms = detect_platforms(os_type)
for name, path in platforms:
print(f" {name}: {path}")
return
if len(platforms) > 1 and not args.list_targets and sys.stdin.isatty():
platforms = _prompt_platform_choice(platforms)