From 6d98ee2f6f1c64cf739bdf597660b94345c6a6cf Mon Sep 17 00:00:00 2001 From: StarsbySea <66008060+StarsbySea@users.noreply.github.com> Date: Wed, 24 May 2023 03:26:47 +0800 Subject: [PATCH] wkhtmltopdf: Fix checkver (#4766) * wkhtmltopdf: Fix checkver * Update wkhtmltopdf.json --- bucket/wkhtmltopdf.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bucket/wkhtmltopdf.json b/bucket/wkhtmltopdf.json index af151d2e9b..15babd1936 100644 --- a/bucket/wkhtmltopdf.json +++ b/bucket/wkhtmltopdf.json @@ -19,7 +19,8 @@ "wkhtmltopdf.exe" ], "checkver": { - "url": "https://github.com/wkhtmltopdf/packaging/releases", + "url": "https://api.github.com/repos/wkhtmltopdf/packaging/releases", + "jsonpath": "$..browser_download_url", "regex": "/wkhtmltox-([\\d.-]+)\\.mxe-cross-" }, "autoupdate": { @@ -30,9 +31,6 @@ "32bit": { "url": "https://github.com/wkhtmltopdf/packaging/releases/download/$version/wkhtmltox-$version.mxe-cross-win32.7z" } - }, - "hash": { - "url": "$baseurl/SHA256SUMS" } } }