wkhtmltopdf: Fix checkver/autoupdate (#3067)

This commit is contained in:
YenForYang 2019-02-03 06:04:05 -06:00 committed by Richard Kuhnt
parent d7c8d28b80
commit 8bb09d61c6

View File

@ -19,15 +19,16 @@
"wkhtmltopdf.exe" "wkhtmltopdf.exe"
], ],
"checkver": { "checkver": {
"github": "https://github.com/wkhtmltopdf/wkhtmltopdf" "url": "https://github.com/wkhtmltopdf/wkhtmltopdf/releases/latest",
"re": "releases/download/(?<head>[0-9.]+)/wkhtmltox-(?<version>[0-9.-]+)\\.mxe-cross-"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "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": { "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": { "hash": {