/
rime-setting.json
31 lines (31 loc) · 1.21 KB
/
rime-setting.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
26
27
28
29
30
31
{
"version": "0.2021.03.13",
"description": "rime 输入法配置",
"homepage": "https://github.com/iorest/rime-setting",
"license": {
"identifier": "Freeware"
},
"depends": [
"rime-weasel"
],
"url": "https://github.com/iorest/rime-setting/archive/3b731d0bedc7a1e440fb089029ad8b97aa39096f.zip",
"hash": "4b53ff0375db5c78c30778db03e212cdababfe776e9a5611f0c12528feb3bf51",
"extract_dir": "rime-setting-3b731d0bedc7a1e440fb089029ad8b97aa39096f",
"post_install": [
"$bucketdir = Find-BucketDirectory -Name $bucket",
"$evalDir = \"$(appdir rime-weasel $global)\\current\".Replace('/', '\\')",
"",
"Write-Host \"S1. Copy to your rime install directory...\" -ForegroundColor DarkCyan",
"cp \"$dir\\*\" \"$evalDir\\AppData\" -Exclude '*.log' -Recurse -force",
""
],
"checkver": {
"url": "https://github.com/iorest/rime-setting/commits/master.atom",
"regex": "(?s)>(\\d+)-(\\d+)-(\\d+)T.*?/(?<sha>[0-9a-f]{40})",
"replace": "0.${1}.${2}.${3}"
},
"autoupdate": {
"url": "https://github.com/iorest/rime-setting/archive/$matchSha.zip",
"extract_dir": "rime-setting-$matchSha"
}
}