mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-11 01:41:21 +00:00
44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
{
|
|
"version": "1.0.9_1",
|
|
"description": "Lossless compression algorithm",
|
|
"homepage": "https://brotli.org/",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://curl.haxx.se/windows/dl-7.74.0_1/brotli-1.0.9_1-win64-mingw.tar.xz",
|
|
"hash": "93389ae9fcb7067461fe8d21a889428b597d46730bf97cf6c02d64080e566f6d",
|
|
"extract_dir": "brotli-1.0.9-win64-mingw"
|
|
},
|
|
"32bit": {
|
|
"url": "https://curl.haxx.se/windows/dl-7.74.0_1/brotli-1.0.9_1-win32-mingw.tar.xz",
|
|
"hash": "d7c556d25a4ad7c298e57b9cfa6bd9eabeb1cf52d4ae26c1fda4ca8e4f1eae32",
|
|
"extract_dir": "brotli-1.0.9-win32-mingw"
|
|
}
|
|
},
|
|
"bin": [
|
|
"bin\\brotli.exe",
|
|
"bin\\unbrotli.exe"
|
|
],
|
|
"pre_install": "Copy-Item \"$dir\\bin\\brotli.exe\" \"$dir\\bin\\unbrotli.exe\"",
|
|
"checkver": {
|
|
"url": "https://curl.haxx.se/windows/",
|
|
"regex": "dl-(?<curl>[\\d._]+)/brotli-(?<version>[\\d._]+)-win64-mingw"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://curl.haxx.se/windows/dl-$matchCurl/brotli-$version-win64-mingw.tar.xz",
|
|
"extract_dir": "brotli-$matchHead-win64-mingw"
|
|
},
|
|
"32bit": {
|
|
"url": "https://curl.haxx.se/windows/dl-$matchCurl/brotli-$version-win32-mingw.tar.xz",
|
|
"extract_dir": "brotli-$matchHead-win32-mingw"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$baseurl/hashes.txt",
|
|
"find": "SHA256\\($basename\\)=\\s+([a-fA-F\\d]{64})"
|
|
}
|
|
}
|
|
}
|