mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 06:41:19 +00:00
44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
{
|
|
"version": "1.0.9_4",
|
|
"description": "Lossless compression algorithm",
|
|
"homepage": "https://brotli.org/",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://curl.haxx.se/windows/dl-7.79.0_4/brotli-1.0.9_4-win64-mingw.tar.xz",
|
|
"hash": "5477a26cdeb7cf8a313fd1e7ad2e5cecf9431f4ff32368839529cc18f3407424",
|
|
"extract_dir": "brotli-1.0.9-win64-mingw"
|
|
},
|
|
"32bit": {
|
|
"url": "https://curl.haxx.se/windows/dl-7.79.0_4/brotli-1.0.9_4-win32-mingw.tar.xz",
|
|
"hash": "1b0d98755469b0f9c9560649a079ef8041cf471fb131787128973fa65f265fa8",
|
|
"extract_dir": "brotli-1.0.9-win32-mingw"
|
|
}
|
|
},
|
|
"pre_install": "Copy-Item \"$dir\\bin\\brotli.exe\" \"$dir\\bin\\unbrotli.exe\"",
|
|
"bin": [
|
|
"bin\\brotli.exe",
|
|
"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",
|
|
"regex": "SHA256\\($basename\\)=\\s+$sha256"
|
|
}
|
|
}
|
|
}
|