mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 23:01:19 +00:00
44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
{
|
|
"version": "1.0.9",
|
|
"description": "Lossless compression algorithm",
|
|
"homepage": "https://brotli.org/",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://curl.haxx.se/windows/dl-7.81.0/brotli-1.0.9-win64-mingw.tar.xz",
|
|
"hash": "0e0da7723a2e33837e3d424f4331409cc2a536bfca40536f9d899948c4817d71",
|
|
"extract_dir": "brotli-1.0.9-win64-mingw"
|
|
},
|
|
"32bit": {
|
|
"url": "https://curl.haxx.se/windows/dl-7.81.0/brotli-1.0.9-win32-mingw.tar.xz",
|
|
"hash": "3ca654a2a6dbb6ec373fe56b4a2a92e2ae160ea99dac734f32829b20e1c8fbd0",
|
|
"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"
|
|
}
|
|
}
|
|
}
|