mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-13 13:33:52 -06:00
docs: name uvx retrobios beside the one-liner
This commit is contained in:
1 parent
7ba899d467
commit
8328570d1c
6 files changed
+27
-2
No files matched your search
@@ -39,7 +39,7 @@ from common import (
|
||||
)
|
||||
from nativemode import check_label
|
||||
import release_record
|
||||
from siteguides import install_command
|
||||
from siteguides import PACKAGE_COMMAND, install_command
|
||||
from validate_pr import LARGE_FILE_ISSUE_URL
|
||||
from largefiles import load_registered_paths
|
||||
import pr_checks
|
||||
@@ -633,6 +633,9 @@ def generate_readme(db: dict, platforms_dir: str, db_path: str = "database.json"
|
||||
"",
|
||||
"# Options in PowerShell: anything after | iex goes to iex, so the script runs as a block",
|
||||
install_command("powershell", "--check"),
|
||||
"",
|
||||
"# With Python 3.8 or newer: the same installer as a package (or pipx run retrobios)",
|
||||
PACKAGE_COMMAND,
|
||||
"```",
|
||||
"",
|
||||
f"",
|
||||
|
||||
@@ -111,6 +111,7 @@ from siteguides import (
|
||||
INSTALL_BASE,
|
||||
INSTALL_PS1,
|
||||
INSTALL_SH,
|
||||
PACKAGE_COMMAND,
|
||||
TERMINALS,
|
||||
TRUST_ITEMS,
|
||||
detected_systems as _detected_systems,
|
||||
@@ -12013,6 +12014,13 @@ def generate_which_pack() -> str:
|
||||
*fence("powershell", install_command(
|
||||
"powershell", "--platform retroarch --dest E:\\retroarch\\cores\\system")),
|
||||
]),
|
||||
*markup.details("note", "Have Python? Run it as a package", [
|
||||
"The same installer, with Python 3.8 or newer:",
|
||||
"",
|
||||
*fence("sh", PACKAGE_COMMAND),
|
||||
"",
|
||||
"`pipx run retrobios` works too, or `pip install retrobios` and then `retrobios`.",
|
||||
]),
|
||||
*markup.details("note", "Copy the BIOS files from your old card", [
|
||||
"Plug the old card in and add `--from` with its folder. The BIOS files "
|
||||
"found there are copied, and the rest downloaded. The old card is only read.",
|
||||
|
||||
@@ -384,6 +384,8 @@ INSTALL_BASE: str = _LOADED["install_base"]
|
||||
# The bootstraps the site serves (sitebootstrap.py writes them).
|
||||
INSTALL_SH: str = f"{INSTALL_BASE}/{SH_NAME}"
|
||||
INSTALL_PS1: str = f"{INSTALL_BASE}/{PS1_NAME}"
|
||||
# The same installer from PyPI (scripts/build_pypi.py builds the package).
|
||||
PACKAGE_COMMAND = "uvx retrobios"
|
||||
DEVICE_GROUPS: dict[str, tuple[str, str]] = _LOADED["device_groups"]
|
||||
GROUP_ANCHORS: dict[str, str] = _LOADED["group_anchors"]
|
||||
ALSO_RUNS: dict[str, tuple[tuple[str, str, str, str, str], ...]] = _LOADED["also_runs"]
|
||||
|
||||
Reference in new issue
Block a user