diff --git a/bucket/highlight.json b/bucket/highlight.json index 8aecfd9ddc..078611b7c0 100644 --- a/bucket/highlight.json +++ b/bucket/highlight.json @@ -1,8 +1,9 @@ { - "homepage": "http://www.andre-simon.de/doku/highlight/en/highlight.php", "version": "3.59", "description": "Converts source code to formatted text with syntax highlighting.", + "homepage": "http://www.andre-simon.de/doku/highlight/en/highlight.php", "license": "GPL-3.0-only", + "notes": "You need to set the working directory of the shortcut to '$dir'", "architecture": { "64bit": { "url": "http://www.andre-simon.de/zip/highlight-3.59-x64.zip", @@ -22,10 +23,9 @@ "Highlight" ] ], - "notes": "You need to set the working directory of the shortcut to '$dir'", "checkver": { "url": "https://gitlab.com/saalen/highlight/-/tags", - "regex": "v([\\d\\.]+)" + "regex": "v([\\d.]+)" }, "autoupdate": { "architecture": { @@ -33,7 +33,7 @@ "url": "http://www.andre-simon.de/zip/highlight-$version-x64.zip", "hash": { "url": "http://www.andre-simon.de/zip/download.php", - "find": "([a-fA-F0-9]{64})\\s+\\|\\s+\\s+\\|\\s+\\s+\\|\\s+\\s+\\|\\s+Telegraf v([\\d.]+)<" + "regex": ">Telegraf v([\\d.]+)<" }, "autoupdate": { "architecture": { "64bit": { - "url": "https://dl.influxdata.com/telegraf/releases/telegraf-$version_windows_amd64.zip", - "hash": { - "url": "https://portal.influxdata.com/downloads/", - "regex": "$sha256.*\\s.*$basename" - } + "url": "https://dl.influxdata.com/telegraf/releases/telegraf-$version_windows_amd64.zip" } + }, + "hash": { + "url": "https://portal.influxdata.com/downloads/", + "regex": "(?sm)Windows Binaries.*?>$sha256