mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-06 16:51: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",
|
"bin": "bin\\curl.exe",
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://curl.haxx.se/download.html",
|
"url": "https://api.bintray.com/packages/vszakats/generic/curl",
|
||||||
"re": "curl ([\\d.]+)"
|
"jp": "$.latest_version"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"cacert": [
|
"cacert": [
|
||||||
@ -36,9 +36,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
"url": "https://api.bintray.com/search/file?subject=vszakats&repo=generic&name=$basename",
|
"url": "$url.sha256"
|
||||||
"mode": "json",
|
|
||||||
"jp": "$.[0].sha256"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user