racket(-minimal)@9.0: Add arm64 support (Closes #7392)

* Fix autoupdate hash extraction.
This commit is contained in:
z-Fng 2025-11-24 06:58:29 +08:00
parent 2a8e647826
commit 12dfb9ed36
No known key found for this signature in database
2 changed files with 16 additions and 2 deletions

View File

@ -11,6 +11,10 @@
"32bit": {
"url": "https://mirror.racket-lang.org/installers/9.0/racket-minimal-9.0-i386-win32.exe#/dl.7z",
"hash": "3f9a624a362ffe2a6a38f079f36f1465e3e313ba2fd20d1b85d8c17dc1ddf2ed"
},
"arm64": {
"url": "https://mirror.racket-lang.org/installers/9.0/racket-minimal-9.0-arm64-win32.exe#/dl.7z",
"hash": "aae41337dd1c530d8b7b7d6252b9b2ce05f537af9f62b285ad7eb95d8a8929a8"
}
},
"bin": [
@ -28,11 +32,14 @@
},
"32bit": {
"url": "https://mirror.racket-lang.org/installers/$version/racket-minimal-$version-i386-win32.exe#/dl.7z"
},
"arm64": {
"url": "https://mirror.racket-lang.org/installers/$version/racket-minimal-$version-arm64-win32.exe#/dl.7z"
}
},
"hash": {
"url": "https://download.racket-lang.org/releases/$version/",
"regex": "$basename.*?\"checksum\">$sha1</span>"
"regex": "$basenameNoExt.*?$sha256"
}
}
}

View File

@ -7,6 +7,10 @@
"64bit": {
"url": "https://mirror.racket-lang.org/installers/9.0/racket-9.0-x86_64-win32.exe#/dl.7z",
"hash": "856bf9e82ad588d01fafdbf6002b2fd00137e687b140072506b92a35427851a8"
},
"arm64": {
"url": "https://mirror.racket-lang.org/installers/9.0/racket-9.0-arm64-win32.exe#/dl.7z",
"hash": "2fcc2c27584c2e3529f76d8155d90a5440b605794787b5d3238fb809df8ac5d6"
}
},
"bin": [
@ -31,11 +35,14 @@
"architecture": {
"64bit": {
"url": "https://mirror.racket-lang.org/installers/$version/racket-$version-x86_64-win32.exe#/dl.7z"
},
"arm64": {
"url": "https://mirror.racket-lang.org/installers/$version/racket-$version-arm64-win32.exe#/dl.7z"
}
},
"hash": {
"url": "https://download.racket-lang.org/releases/$version/",
"regex": "(?is)<tr\\b.*?href=\"[^\"]*racket-(?!minimal)[^\"]*x86_64-win32[^\"]*\".*?class=\"checksum\"[^>]*>\\s*([0-9a-f]{64})"
"regex": "$basenameNoExt.*?$sha256"
}
}
}