diff --git a/install.ps1 b/install.ps1 index 34d0442f9..b0b55571e 100644 --- a/install.ps1 +++ b/install.ps1 @@ -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 = "fe4bc003ca129ff7c5f3adf622b51fded3c223560e7bf3a0e0c3289b7f9d706d" + $defaultInstallSha256 = "3533c56793b7c63942b2ee4882dd4b32bde8958a7c8ccf7ee4d60824b9e74076" # 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 diff --git a/install.py b/install.py index 57ec13efb..bafc94e1a 100644 --- a/install.py +++ b/install.py @@ -10770,6 +10770,7 @@ def part_marker_name(name: str, index: int, count: int) -> str: """The marker part index of count of the pack name holds.""" return f"{name[: -len('.zip')]}.part{index}of{count}.txt" + MAX_PARTS = 999 # A system id as the file lists write them (sony-playstation, other). diff --git a/install.sh b/install.sh index 69eaad3fb..be995560f 100755 --- a/install.sh +++ b/install.sh @@ -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="fe4bc003ca129ff7c5f3adf622b51fded3c223560e7bf3a0e0c3289b7f9d706d" +DEFAULT_INSTALL_SHA256="3533c56793b7c63942b2ee4882dd4b32bde8958a7c8ccf7ee4d60824b9e74076" # 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 diff --git a/install/launchers/index.json b/install/launchers/index.json index a92f3d145..7f750f735 100644 --- a/install/launchers/index.json +++ b/install/launchers/index.json @@ -27,8 +27,8 @@ { "dest": "roms/ports/retrobios/install.py", "repo_path": "install.py", - "size": 1448585, - "sha256": "fe4bc003ca129ff7c5f3adf622b51fded3c223560e7bf3a0e0c3289b7f9d706d", + "size": 1448586, + "sha256": "3533c56793b7c63942b2ee4882dd4b32bde8958a7c8ccf7ee4d60824b9e74076", "executable": false }, { @@ -71,8 +71,8 @@ "muos": { "archive": { "dest": "ARCHIVE/RetroBIOS.muxapp", - "size": 1502210, - "sha256": "a67944ee5000e3b1fc22081e0062025789b5d7b5efd25446df11bedbd04b0920" + "size": 1502211, + "sha256": "4cc5edafcfb9e9e2c1d42bd9814e172d6439b4ec4da68fa3bba7a81009c8f70f" }, "members": [ { @@ -92,8 +92,8 @@ { "name": "RetroBIOS/install.py", "repo_path": "install.py", - "size": 1448585, - "sha256": "fe4bc003ca129ff7c5f3adf622b51fded3c223560e7bf3a0e0c3289b7f9d706d", + "size": 1448586, + "sha256": "3533c56793b7c63942b2ee4882dd4b32bde8958a7c8ccf7ee4d60824b9e74076", "executable": false }, { @@ -166,8 +166,8 @@ { "dest": ".config/modules/retrobios/install.py", "repo_path": "install.py", - "size": 1448585, - "sha256": "fe4bc003ca129ff7c5f3adf622b51fded3c223560e7bf3a0e0c3289b7f9d706d", + "size": 1448586, + "sha256": "3533c56793b7c63942b2ee4882dd4b32bde8958a7c8ccf7ee4d60824b9e74076", "executable": false }, { diff --git a/installer/pack_source.py b/installer/pack_source.py index 17aecabd8..638a54601 100644 --- a/installer/pack_source.py +++ b/installer/pack_source.py @@ -42,6 +42,7 @@ def part_marker_name(name: str, index: int, count: int) -> str: """The marker part index of count of the pack name holds.""" return f"{name[: -len('.zip')]}.part{index}of{count}.txt" + MAX_PARTS = 999 # A system id as the file lists write them (sony-playstation, other).