diff --git a/wkhtmltopdf.json b/wkhtmltopdf.json index 4932c5a7d2..65aa2eeeaa 100644 --- a/wkhtmltopdf.json +++ b/wkhtmltopdf.json @@ -19,15 +19,16 @@ "wkhtmltopdf.exe" ], "checkver": { - "github": "https://github.com/wkhtmltopdf/wkhtmltopdf" + "url": "https://github.com/wkhtmltopdf/wkhtmltopdf/releases/latest", + "re": "releases/download/(?[0-9.]+)/wkhtmltox-(?[0-9.-]+)\\.mxe-cross-" }, "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/$version/wkhtmltox-$version.mxe-cross-win64.7z" + "url": "https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/$matchHead/wkhtmltox-$version.mxe-cross-win64.7z" }, "32bit": { - "url": "https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/$version/wkhtmltox-$version.mxe-cross-win32.7z" + "url": "https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/$matchHead/wkhtmltox-$version.mxe-cross-win32.7z" } }, "hash": {