mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-06 00:31:20 +00:00
curl: improve checkver and hash extraction
This commit is contained in:
parent
5f3eefcf38
commit
0e57b65ecc
@ -16,8 +16,8 @@
|
||||
},
|
||||
"bin": "bin\\curl.exe",
|
||||
"checkver": {
|
||||
"url": "https://curl.haxx.se/download.html",
|
||||
"re": "curl ([\\d.]+)"
|
||||
"url": "https://api.bintray.com/packages/vszakats/generic/curl",
|
||||
"jp": "$.latest_version"
|
||||
},
|
||||
"suggest": {
|
||||
"cacert": [
|
||||
@ -36,9 +36,7 @@
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"url": "https://api.bintray.com/search/file?subject=vszakats&repo=generic&name=$basename",
|
||||
"mode": "json",
|
||||
"jp": "$.[0].sha256"
|
||||
"url": "$url.sha256"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user