From 76460df9bce069304fb034d37ccafec3f9eb14db Mon Sep 17 00:00:00 2001 From: Xuanjun Wen <41050170+wenxuanjun@users.noreply.github.com> Date: Tue, 1 Oct 2024 21:34:58 +0800 Subject: [PATCH] Update weasel.json Fix checkver of weasel --- bucket/weasel.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bucket/weasel.json b/bucket/weasel.json index 5747fdde2..4f780f45b 100644 --- a/bucket/weasel.json +++ b/bucket/weasel.json @@ -16,10 +16,9 @@ "script": "Invoke-ExternalCommand \"$dir/uninstall.exe\" -ArgumentList '/S' -RunAs | Out-Null" }, "checkver": { - "url": "https://github.com/rime/weasel/releases", - "regex": "/rime/weasel/releases/download/[\\d.]+/weasel-([\\d.]+)-installer.exe" + "github": "https://github.com/rime/weasel" }, "autoupdate": { - "url": "https://github.com/rime/weasel/releases/download/$matchHead/weasel-$version-installer.exe#/dl.7z" + "url": "https://github.com/rime/weasel/releases/download/$version/weasel-$version.0-installer.exe#/dl.7z" } }