/
typora-plugin.json
32 lines (32 loc) · 1.42 KB
/
typora-plugin.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
32
{
"version": "1.8.32",
"description": "Typora plugin. feature enhancement tool | Typora 插件,功能增强工具",
"homepage": "https://github.com/obgnail/typora_plugin",
"license": {
"identifier": "MIT license",
"url": "https://github.com/obgnail/typora_plugin/blob/master/LICENSE"
},
"notes": [
"For initial usage, please running:",
"\"$(scoop prefix typora)\\resources\\plugin\\updater\\updater.exe\""
],
"depends": "typora",
"url": "https://github.com/obgnail/typora_plugin/archive/1.8.32.zip",
"hash": "92b3f5869fdf36e4aa7aad5460acb5db5d0f8153a34e4259615ee34786d323ed",
"extract_dir": "typora_plugin-1.8.32",
"post_install": "Copy-Item \"$dir\\plugin\" \"$(scoop prefix typora)\\resources\" -Recurse -Force -ErrorAction 'SilentlyContinue'",
"uninstaller": {
"script": [
"Remove-Item \"$(scoop prefix typora)\\resources\\plugin\", \"$(scoop prefix typora)\\resources\\window.html\" -Force -Recurse",
"Move-Item \"$(scoop prefix typora)\\resources\\window.html.bak\" \"$(scoop prefix typora)\\resources\\window.html\""
]
},
"checkver": {
"url": "https://github.com/obgnail/typora_plugin/releases.atom",
"regex": "/releases/tag/([\\d.]+)"
},
"autoupdate": {
"url": "https://github.com/obgnail/typora_plugin/archive/$version.zip",
"extract_dir": "typora_plugin-$version"
}
}