mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-29 04:48:54 -06:00
refactor: one owner per installer source decision
--emulator says its Narrowed line through detail, as every other narrowing. Detection records that it read the RetroArch configs, and a lookup detects again only before that, held by detection_held. The list and pack open apart from the --from folders, whose refusal one function builds for line mode and the full screen.
This commit is contained in:
1 parent
18472f9d0f
commit
2b5031ecd6
15 files changed
+121
-89
No files matched your search
@@ -10,6 +10,7 @@ from collections.abc import Callable, Iterator
|
||||
from pathlib import Path
|
||||
|
||||
from installer.config_values import (
|
||||
_CONFIGS_READ,
|
||||
_parse_bash_var,
|
||||
_parse_json_path,
|
||||
_parse_ps1_var,
|
||||
@@ -826,6 +827,8 @@ def _without_unnameable(found: list[tuple[str, Path]]) -> list[tuple[str, Path]]
|
||||
@_detection_guarded
|
||||
def detect_platforms(os_type: str) -> list[tuple[str, Path]]:
|
||||
"""Detect installed emulator platforms and their BIOS directories."""
|
||||
if not _CONFIGS_READ:
|
||||
_CONFIGS_READ.append(True)
|
||||
found: list[tuple[str, Path]] = []
|
||||
if os_type == "wsl":
|
||||
_note_windows_unasked()
|
||||
|
||||
Reference in new issue
Block a user