diff --git a/bucket/weasel.json b/bucket/weasel.json new file mode 100644 index 00000000000..b1f32e70143 --- /dev/null +++ b/bucket/weasel.json @@ -0,0 +1,24 @@ +{ + "version": "0.14.3", + "description": "Weasel is the Windows frontend for the Rime input method engine", + "homepage": "https://github.com/rime/weasel", + "license": "GPL-3.0-or-later", + "url": "https://github.com/rime/weasel/releases/download/0.14.3/weasel-0.14.3.0-installer.exe#/dl.7z", + "hash": "de63dc2ef45d5b094a239fc704051270f3185bf9e883132532b7e17d2fdaf81b", + "installer": { + "script": [ + "& \"$dir\\WeaselSetup.exe\" /i", + "& \"$dir\\WeaselDeployer.exe\" /install", + "& \"$dir\\WeaselServer.exe\"" + ] + }, + "post_install": "Remove-Item \"$dir\\`$PLUGINSDIR\" -Recurse", + "uninstaller": { + "file": "uninstall.exe", + "args": "/S" + }, + "checkver": "github", + "autoupdate": { + "url": "https://github.com/rime/weasel/releases/download/$matchHead/weasel-$version-installer.exe#/dl.7z" + } +}