mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-13 12:22:33 -05:00
fix: manifest dest paths relative to bios dir
This commit is contained in:
23
install.py
23
install.py
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user