chore: merge the install.py spacing from main

This commit is contained in:
Abdessamad Derraz committed 2026-11-11 17:39:01 +01:00
commit c8bbf900a6
4 files changed
+10 -12

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@
# and Invoke-WebRequest throws on a cut transfer before the hash is read:
# the site's build rewrites this line there (scripts/sitebootstrap.py).
$mismatchAdvice = "The download was most likely cut short: try again. Within minutes of an update of this project the two files can come from caches of different ages. Waiting five minutes settles that."
$defaultInstallSha256 = "300f5f9f82f21af68582b1cbd6cd1512883a2ce7fc9185dd04537b91f11b5f48"
$defaultInstallSha256 = "6ad8632420ec4b4a06b5124ff14553170794522f27ccfd910216c3e5a9b5fc78"
# The pin above refuses any changed byte: this cap only stops a body that
# cannot be the installer (a sign-in portal's page) before it is hashed.
$maximumInstallerBytes = 8MB
-2
View File
@@ -6591,8 +6591,6 @@ def apply_record(args: argparse.Namespace, plat: str, folder: Path) -> dict | No
return setup
def _is_link(info: os.stat_result) -> bool:
"""Whether what lstat read is a link: a symbolic link, or on Windows a
junction or any other reparse point."""
+1 -1
View File
@@ -23,7 +23,7 @@ DEFAULT_INSTALL_URL="https://raw.githubusercontent.com/Abdess/retrobios/main/ins
# curl or wget stop on a cut transfer before the hash is read: the site's
# build rewrites this line there (scripts/sitebootstrap.py).
MISMATCH_ADVICE="The download was most likely cut short: try again. Within minutes of an update of this project the two files can come from caches of different ages. Waiting five minutes settles that."
DEFAULT_INSTALL_SHA256="300f5f9f82f21af68582b1cbd6cd1512883a2ce7fc9185dd04537b91f11b5f48"
DEFAULT_INSTALL_SHA256="6ad8632420ec4b4a06b5124ff14553170794522f27ccfd910216c3e5a9b5fc78"
# The pin above refuses any changed byte: this cap only stops a body that
# cannot be the installer (a sign-in portal's page) before it is hashed.
MAX_INSTALLER_BYTES=8388608
+8 -8
View File
@@ -27,8 +27,8 @@
{
"dest": "roms/ports/retrobios/install.py",
"repo_path": "install.py",
"size": 1287576,
"sha256": "300f5f9f82f21af68582b1cbd6cd1512883a2ce7fc9185dd04537b91f11b5f48",
"size": 1287574,
"sha256": "6ad8632420ec4b4a06b5124ff14553170794522f27ccfd910216c3e5a9b5fc78",
"executable": false
},
{
@@ -71,8 +71,8 @@
"muos": {
"archive": {
"dest": "ARCHIVE/RetroBIOS.muxapp",
"size": 1341201,
"sha256": "e03a69b28579955aac4970ece642996c5d81dead48fcbd7fef363b5179ba99a7"
"size": 1341199,
"sha256": "51bf84539cbf0acc25cf1f901feff8089c2df768b3db01a92cd2343ca192c316"
},
"members": [
{
@@ -92,8 +92,8 @@
{
"name": "RetroBIOS/install.py",
"repo_path": "install.py",
"size": 1287576,
"sha256": "300f5f9f82f21af68582b1cbd6cd1512883a2ce7fc9185dd04537b91f11b5f48",
"size": 1287574,
"sha256": "6ad8632420ec4b4a06b5124ff14553170794522f27ccfd910216c3e5a9b5fc78",
"executable": false
},
{
@@ -166,8 +166,8 @@
{
"dest": ".config/modules/retrobios/install.py",
"repo_path": "install.py",
"size": 1287576,
"sha256": "300f5f9f82f21af68582b1cbd6cd1512883a2ce7fc9185dd04537b91f11b5f48",
"size": 1287574,
"sha256": "6ad8632420ec4b4a06b5124ff14553170794522f27ccfd910216c3e5a9b5fc78",
"executable": false
},
{