diff --git a/bucket/wechat-versions.json b/bucket/wechat-versions.json index 8f9a9d3..d80f6db 100644 --- a/bucket/wechat-versions.json +++ b/bucket/wechat-versions.json @@ -1,12 +1,13 @@ { - "version": "3.9.9.35", + "version": "3.9.7.29", "description": "Archived versions of wechat from https://github.com/tom-snow/wechat-windows-versions/releases, type 'scoop install wechat-versions@' to install a specific version.", "homepage": "https://pc.weixin.qq.com/", "license": { "identifier": "Proprietary", "url": "https://www.wechat.com/en/service_terms.html" }, - "url": "https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.9.9.35/WeChatSetup-3.9.9.35.exe#/dl.7z", + "url": "https://github.com/tom-snow/wechat-windows-versions/releases/download/3.9.7.29/WeChatSetup-3.9.7.29.exe#/dl.7z", + "hash": "bf1f0a79013b1f253ef47a606e20ab636cae80a8aa42c3ab4f01f0b40893a5d0", "installer": { "script": [ "Remove-Item \"$dir\\`$*\", \"$dir\\Uninst*\" -Force -Recurse", @@ -38,6 +39,10 @@ "regex": "Wechat v([\\d.]+)" }, "autoupdate": { - "url": "https://github.com/tom-snow/wechat-windows-versions/releases/download/v$version/WeChatSetup-$version.exe#/dl.7z" + "url": "https://github.com/tom-snow/wechat-windows-versions/releases/download/v$version/WeChatSetup-$version.exe#/dl.7z", + "hash": { + "url": "https://github.com/tom-snow/wechat-windows-versions/releases/tag/v$version", + "regex": "Sha256: ([a-fA-F0-9]{64})" + } } }