fix: retrodeck bios_path double prefix

This commit is contained in:
Abdessamad Derraz
2026-04-03 11:07:46 +02:00
parent 97e26103f5
commit 6dbc3f510b
2 changed files with 3 additions and 3 deletions

View File

@@ -192,9 +192,9 @@ def detect_platforms(os_type: str) -> list[tuple[str, Path]]:
if retrodeck_cfg.exists():
bios_path = _parse_bash_var(retrodeck_cfg, "rdhome")
if bios_path:
found.append(("retrodeck", Path(bios_path) / "bios"))
found.append(("retrodeck", Path(bios_path)))
else:
found.append(("retrodeck", home / "retrodeck" / "bios"))
found.append(("retrodeck", home / "retrodeck"))
# RetroArch Flatpak
flatpak_cfg = home / ".var" / "app" / "org.libretro.RetroArch" / "config" / "retroarch" / "retroarch.cfg"

View File

@@ -752,7 +752,7 @@ platforms:
- os: linux
method: path_exists
path: $HOME/.var/app/net.retrodeck.retrodeck
bios_path: $HOME/retrodeck/bios
bios_path: $HOME/retrodeck
romm:
config: romm.yml
status: active