fix: give the bare platform menu its default

With nothing detected, the menu had no Enter default, while --help and
the --dest menu name RetroArch as the fallback. Its title now also says
why the question is asked.
This commit is contained in:
Abdessamad Derraz committed 2026-10-23 14:21:45 +02:00
1 parent 19b4ef5de4
commit 778d2d56e6
4 files changed
+14 -3

No files matched your search

+2 -1
View File
@@ -5603,7 +5603,8 @@ def _choose_platform(title: str, default: str = "") -> str:
def _prompt_manual_platform(os_type: str) -> list[tuple[str, Path]]:
"""Ask for a platform and a BIOS directory when nothing was detected."""
plat = _choose_platform("Choose the platform to install for:")
plat = _choose_platform("No supported platform found here. Choose the one to "
"install for:", "retroarch")
default_dest = _default_dest(os_type, plat)
raw = ""
while not raw: