mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-27 22:27:21 -05:00
feat: network route and offline line on setups
A device setup with no ZIP and a cited network folder gets the command run from a computer into that folder. Every setup with a ZIP links the offline install, the Linux handhelds guide opens with a jump to its download, home and the setup index drop the stray Reference labels, the index lists the handheld tiles, and Get your files answers iPhone and iPad with each app's own steps.
This commit is contained in:
1 parent
c1a942ad31
commit
685945771e
2 files changed
+111
-16
No files matched your search
@@ -185,7 +185,10 @@ def card_grid(cards: list[tuple[str, list[str]]]) -> list[str]:
|
||||
|
||||
|
||||
def initials(name: str) -> str:
|
||||
"""Up to two capitals of a name, for a setup that has no logo: MyMinUI is MM."""
|
||||
"""Up to two capitals of a name, for a setup that has no logo: MyMinUI is MM.
|
||||
A name written from a lowercase prefix keeps it: iPhone is iP, not PP."""
|
||||
if len(name) > 1 and name[0].islower() and name[1].isupper():
|
||||
return name[:2]
|
||||
capitals = [c for c in name if c.isupper()]
|
||||
return "".join(capitals[:2]) or name[:2].upper()
|
||||
|
||||
|
||||
Reference in new issue
Block a user