ngrok: Improve autoupdate (#47)

This commit is contained in:
Edgard Lorraine Messias 2019-05-12 09:12:35 -03:00 committed by Richard Kuhnt
parent 81dfc5e00c
commit 335057b3b0

View File

@ -1,28 +1,37 @@
{
"version": "4VmDzA7iaHb",
"homepage": "https://ngrok.com/",
"description": "Spend more time programming. One command for an instant, secure URL to your localhost server through any NAT or firewall.",
"version": "2.3.28",
"license": {
"identifier": "Freeware",
"url": "https://ngrok.com/tos"
},
"architecture": {
"64bit": {
"url": "https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-windows-amd64.zip",
"hash": "377fd2d991dc54a6a4e66e297a2461f1f601e4165027fceac716d24af4c80e88"
"url": "https://bin.equinox.io/a/nd97evQAiYM/ngrok-2.3.28-windows-amd64.zip",
"hash": "a5b680868939db4cab8daafa9e81f5433c0dec919a4daee268919859f8f80c13"
},
"32bit": {
"url": "https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-windows-386.zip",
"hash": "5a77a5a0175d2137f69f33b04184c27bc1a93b074637ad9a39ed93e3f3ad2ca4"
"url": "https://bin.equinox.io/a/m8WfKhqBv6W/ngrok-2.3.28-windows-386.zip",
"hash": "e3dc502127201661b1920508169fed9ee0242431e1ae98ab7849540482bb0b03"
}
},
"bin": "ngrok.exe",
"checkver": {
"url": "https://dl.equinox.io/ngrok/ngrok/stable",
"re": "/c/(.*)/ngrok-stable-windows-amd64.zip"
"url": "https://dl.equinox.io/ngrok/ngrok/stable/archive",
"re": "/a/(?<hash64bit>\\w+)/ngrok-([\\d.]+)-windows-amd64.zip(?:.|\\n)+?/a/(?<hash32bit>\\w+)/ngrok-([\\d.]+)-windows-386.zip"
},
"autoupdate": {
"hash": {
"url": "https://dl.equinox.io/ngrok/ngrok/stable/archive",
"regex": "$url(?:.|\\n)+?value=\"(\\w+)"
},
"architecture": {
"64bit": {
"url": "https://bin.equinox.io/c/$version/ngrok-stable-windows-amd64.zip"
"url": "https://bin.equinox.io/a/$matchHash64bit/ngrok-$version-windows-amd64.zip"
},
"32bit": {
"url": "https://bin.equinox.io/c/$version/ngrok-stable-windows-386.zip"
"url": "https://bin.equinox.io/a/$matchHash32bit/ngrok-$version-windows-386.zip"
}
}
}