mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 15:21:18 +00:00
44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
{
|
|
"version": "1.0.7_2",
|
|
"homepage": "https://brotli.org/",
|
|
"description": "Lossless compression algorithm",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://curl.haxx.se/windows/dl-7.70.0_2/brotli-1.0.7_2-win64-mingw.tar.xz",
|
|
"hash": "96f4106f49075cacdfc389a93676435c42b2dcce221a2a12dc1878e8bb1a89cb",
|
|
"extract_dir": "brotli-1.0.7-win64-mingw"
|
|
},
|
|
"32bit": {
|
|
"url": "https://curl.haxx.se/windows/dl-7.70.0_2/brotli-1.0.7_2-win32-mingw.tar.xz",
|
|
"hash": "832c7fabb1c27a171b8a4403759ae4481078db92a256267da735d2815702a8fb",
|
|
"extract_dir": "brotli-1.0.7-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/",
|
|
"re": "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})"
|
|
}
|
|
}
|
|
}
|