mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 10:37:54 -06:00
refactor: system names and guides below packs
This commit is contained in:
1 parent
4037c537cc
commit
29f5c48a2c
44 files changed
+1437
-1382
No files matched your search
@@ -910,7 +910,7 @@ class RetroArchWindowsSystemFolder(unittest.TestCase):
|
||||
source = inspect.getsource(install)
|
||||
self.assertIn('ra_dir or exe_dir / "system"', source)
|
||||
self.assertTrue(str(install._os_default_dests("windows")["retroarch"]).replace("\\", "/").endswith("/system"))
|
||||
from siteguides import GUIDES
|
||||
from model.guides import GUIDES
|
||||
|
||||
guide = GUIDES["retroarch"]
|
||||
section = "\n".join([*(path for _label, path in guide.folders), *guide.notes])
|
||||
@@ -923,7 +923,7 @@ class RetroArchWindowsSystemFolder(unittest.TestCase):
|
||||
(platform_darwin.m), Application Support only for a portable or
|
||||
Steam build, and install.py looks there in that order."""
|
||||
import install
|
||||
from siteguides import GUIDES
|
||||
from model.guides import GUIDES
|
||||
|
||||
source = inspect.getsource(install._macos_retroarch_base)
|
||||
self.assertIn('Path.home() / "Documents" / "RetroArch"', source)
|
||||
@@ -1626,7 +1626,7 @@ def unserved_one_liners(page: str, text: str) -> list[str]:
|
||||
address of the repository stays as the fallback of the One line
|
||||
section, and must name a bootstrap the repository holds."""
|
||||
import sitebootstrap
|
||||
from siteguides import INSTALL_BASE
|
||||
from model.guides import INSTALL_BASE
|
||||
|
||||
served = {f"{INSTALL_BASE}/{name}" for name in sitebootstrap.SOURCES}
|
||||
fallback = _section(text, "One line") if page == "installer.md" else ""
|
||||
|
||||
Reference in new issue
Block a user