/
weasel.json
25 lines (25 loc) 路 999 Bytes
/
weasel.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"homepage": "https://rime.im/",
"license": "GPL-3.0-or-later",
"version": "0.14.3.0",
"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": {
"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"
},
"autoupdate": {
"url": "https://github.com/rime/weasel/releases/download/$matchHead/weasel-$version-installer.exe#/dl.7z"
}
}