mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-01 07:33:45 -06:00
chore: merge games parts and cores ticked
# Conflicts: # tests/test_doc_pages.py
This commit is contained in:
commit
57e0f306e8
31 files changed
+1669
-514
No files matched your search
@@ -177,8 +177,13 @@ def _marker(rule: _install._OsRule) -> str:
|
||||
path, pattern = rule.values
|
||||
line = re.sub(r"\\s\*\$$", "", re.sub(r"^(\^|\\A)", "", pattern)).replace("\\", "")
|
||||
return f"`{path}` holding the line `{line}`"
|
||||
return ", ".join(f"`{value}`" if PurePosixPath(value).suffix else f"`{value}/`"
|
||||
for value in rule.values)
|
||||
named = ", ".join(f"`{value}`" if PurePosixPath(value).suffix else f"`{value}/`"
|
||||
for value in rule.values)
|
||||
if rule.method == "games_part":
|
||||
# Told on the games part beside its bios folder, on a drive the
|
||||
# system does not call fixed (install.games_part).
|
||||
return f"{named} beside `bios/`, on a drive that is not a fixed disk"
|
||||
return named
|
||||
|
||||
|
||||
def _list_words(plat: str) -> str:
|
||||
@@ -189,7 +194,8 @@ def _list_words(plat: str) -> str:
|
||||
def card_marker_rows() -> list[list[str]]:
|
||||
"""The files that name a card or a SHARE drive, in the order they are
|
||||
read: install.py's card rules, then its SHARE drive files."""
|
||||
rows = [[_marker(rule), rule.name, f"`{rule.bios}`, {_list_words(rule.manifest)}"]
|
||||
rows = [[_marker(rule), rule.name,
|
||||
f"`{rule.bios or 'bios'}`, {_list_words(rule.manifest)}"]
|
||||
for rule in _install._card_rules()]
|
||||
hostname = "system.hostname=BATOCERA"
|
||||
for plat, marker in _install._SHARE_DRIVES:
|
||||
|
||||
@@ -3940,8 +3940,11 @@ def first_screen_words() -> list[str]:
|
||||
showed a line menu (Enter, i, c, q) nobody saw, whose keys had changed
|
||||
since."""
|
||||
installer = _installer()
|
||||
return [f"The command opens a screen. **{installer.TUI_INSTALL_ROW}** gets every "
|
||||
f"file, **{installer.TUI_SYSTEMS_ROW}** fewer."]
|
||||
# The screen it opens first: the setup found, or the list when none
|
||||
# is. Install comes on the next one, Choose systems beside it and named
|
||||
# above on the page (tui_audit_16 P3-10).
|
||||
return [f"It asks **{installer.TUI_FOUND_TITLE}** (or **{installer.TUI_CHOOSE_TITLE}**), "
|
||||
f"then offers **{installer.TUI_INSTALL_ROW}**."]
|
||||
|
||||
|
||||
def check_pass_line() -> str:
|
||||
|
||||
Reference in new issue
Block a user