From 335057b3b026b4be0ff237c0dd9050a3ea628599 Mon Sep 17 00:00:00 2001 From: Edgard Lorraine Messias Date: Sun, 12 May 2019 09:12:35 -0300 Subject: [PATCH] ngrok: Improve autoupdate (#47) --- bucket/ngrok.json | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/bucket/ngrok.json b/bucket/ngrok.json index 16371b78af..ee3e6b0554 100644 --- a/bucket/ngrok.json +++ b/bucket/ngrok.json @@ -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/(?\\w+)/ngrok-([\\d.]+)-windows-amd64.zip(?:.|\\n)+?/a/(?\\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" } } }