fix: point the retrobat guide at install.ps1

This commit is contained in:
Abdessamad Derraz committed 2026-10-06 05:06:15 +02:00
1 parent 3067865b02
commit 1e4ffa3db1
2 files changed
+12 -2

No files matched your search

+2 -2
View File
@@ -140,8 +140,8 @@ def _build_readme(
"INSTALLATION GUIDE (Windows)\n\n"
" Option A: Automatic (recommended)\n"
" ---------------------------------\n"
" Download and run install.bat from:\n"
" https://github.com/Abdess/retrobios/releases\n\n"
" Open PowerShell and run:\n\n"
" irm https://raw.githubusercontent.com/Abdess/retrobios/main/install.ps1 | iex\n\n"
" Option B: Manual\n"
" ----------------\n"
" 1. Open your RetroBat installation folder\n"
+10
View File
@@ -46,5 +46,15 @@ class GuidesPointAtTheReadPath(unittest.TestCase):
)
class GuidesNameShippedInstallers(unittest.TestCase):
def test_every_installer_named_exists(self):
"""RetroBat's guide sent users to an install.bat no release carries."""
import re
source = (REPO_ROOT / "scripts" / "packreadme.py").read_text(encoding="utf-8")
for name in set(re.findall(r"install\.(?:bat|ps1|sh|py)", source)):
with self.subTest(installer=name):
self.assertTrue((REPO_ROOT / name).is_file())
if __name__ == "__main__":
unittest.main()