mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-19 16:17:49 -06:00
chore: merge origin/main
This commit is contained in:
commit
2b750c2ff2
3 files changed
+21
-4
No files matched your search
@@ -126,7 +126,7 @@ def render(record: dict, platforms_dir: str, whats_new: str) -> str:
|
|||||||
lines = [
|
lines = [
|
||||||
"### Install in one command",
|
"### Install in one command",
|
||||||
"",
|
"",
|
||||||
"It finds your setup and its BIOS folder, then downloads only what is missing.",
|
"It finds the setup and its BIOS folder, then downloads only what is missing.",
|
||||||
"",
|
"",
|
||||||
"**Linux, macOS, Steam Deck**",
|
"**Linux, macOS, Steam Deck**",
|
||||||
"```sh",
|
"```sh",
|
||||||
@@ -138,12 +138,12 @@ def render(record: dict, platforms_dir: str, whats_new: str) -> str:
|
|||||||
install_command("powershell"),
|
install_command("powershell"),
|
||||||
"```",
|
"```",
|
||||||
"",
|
"",
|
||||||
(f"**On a handheld**: copy the `RetroBIOS` file for your system to the card"
|
(f"**On a handheld**: copy the `RetroBIOS` file for the system to the card"
|
||||||
f" ([which one]({SITE}wiki/installer/#on-a-handheld-the-retrobios-port))."),
|
f" ([which one]({SITE}wiki/installer/#on-a-handheld-the-retrobios-port))."),
|
||||||
"",
|
"",
|
||||||
"### Or download a pack",
|
"### Or download a pack",
|
||||||
"",
|
"",
|
||||||
"Extract it into your BIOS folder.",
|
"Extract it into the BIOS folder.",
|
||||||
"",
|
"",
|
||||||
]
|
]
|
||||||
if any(len(pack["assets"]) > 1 for pack in packs.values()):
|
if any(len(pack["assets"]) > 1 for pack in packs.values()):
|
||||||
|
|||||||
@@ -186,6 +186,23 @@ class SitePronouns(unittest.TestCase):
|
|||||||
hits = _hits(files)
|
hits = _hits(files)
|
||||||
self.assertEqual(hits, [], "\n".join(hits))
|
self.assertEqual(hits, [], "\n".join(hits))
|
||||||
|
|
||||||
|
def test_release_notes(self):
|
||||||
|
"""The release page is public text too. Rendered from the committed
|
||||||
|
record, and once more with a pack in parts, its own paragraph."""
|
||||||
|
sys.path.insert(0, str(ROOT / "scripts"))
|
||||||
|
import release_notes
|
||||||
|
import release_record
|
||||||
|
|
||||||
|
record = release_record.load_record(ROOT / "release.json")
|
||||||
|
first = next(iter(record["packs"]))
|
||||||
|
parted = {**record, "packs": {**record["packs"], first: {
|
||||||
|
**record["packs"][first], "assets": ["a.part1of2.zip", "a.part2of2.zip"]}}}
|
||||||
|
platforms = str(ROOT / "platforms")
|
||||||
|
hits = [f"release notes:{number}: {line}"
|
||||||
|
for sample in (record, parted)
|
||||||
|
for number, line in pronouns(release_notes.render(sample, platforms, "x"))]
|
||||||
|
self.assertEqual(hits, [], "\n".join(hits))
|
||||||
|
|
||||||
def test_every_allowed_quote_says_why(self):
|
def test_every_allowed_quote_says_why(self):
|
||||||
for quoted, reason in {**NAMES, **INSTALLER, **SOURCE}.items():
|
for quoted, reason in {**NAMES, **INSTALLER, **SOURCE}.items():
|
||||||
with self.subTest(quoted=quoted):
|
with self.subTest(quoted=quoted):
|
||||||
|
|||||||
+1
-1
@@ -1569,7 +1569,7 @@ RetroBIOS also runs on the handheld itself, in the
|
|||||||
Copy the file for the system to the SD card, then start RetroBIOS from the
|
Copy the file for the system to the SD card, then start RetroBIOS from the
|
||||||
menu.
|
menu.
|
||||||
|
|
||||||
Download the file for your system from the
|
Download that file from the
|
||||||
[latest release](https://github.com/Abdess/retrobios/releases/latest).
|
[latest release](https://github.com/Abdess/retrobios/releases/latest).
|
||||||
|
|
||||||
| System | File | Copy it to | Start it from |
|
| System | File | Copy it to | Start it from |
|
||||||
|
|||||||
Reference in new issue
Block a user