/
finalshell.json
38 lines (38 loc) · 1.47 KB
/
finalshell.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
33
34
35
36
37
38
{
"version": "4.2.4.2",
"description": "国产软件FinalShell SSH工具,服务器管理,远程桌面加速软件,支持Windows,macOS,Linux",
"homepage": "https://www.hostbuf.com/t/988.html",
"license": "Freeware",
"notes": "https://github.com/codecopy/ScoopBucket/blob/master/bucket/finalshell.json",
"url": "http://www.hostbuf.com/downloads/finalshell_install.exe#/dl.7z",
"hash": "a581f35183f67a1b59c81e700ebd6e3639924f1afed3b22ccf305b0dfcbf55b1",
"pre_install": [
"Remove-Item \"$dir\\`$PLUGINSDIR\" -Recurse",
"if (!(Test-Path \"$persist_dir\\config.json\")) { New-Item \"$dir\\config.json\" | Out-Null }",
"if (!(Test-Path \"$persist_dir\\tconfig.json\")) { New-Item \"$dir\\tconfig.json\" | Out-Null }"
],
"post_install": [
"Invoke-Expression -Command \"$dir\\unpack200.exe -r $dir\\finalshell_win.pack.gz $dir\\finalshell.jar\"",
"Invoke-Expression -Command \"$dir\\unpack200.exe -r $dir\\lib-run\\bcprov.pack.gz $dir\\lib-run\\bcprov.jar\""
],
"shortcuts": [
[
"finalshell.exe",
"FinalShell"
]
],
"persist": [
"conn",
"sync",
"theme",
"config.json",
"tconfig.json"
],
"checkver": {
"url": "https://www.hostbuf.com/downloads/update_config_win.json",
"regex": "\"FinalShell ([\\d.]+)\","
},
"autoupdate": {
"url": "http://www.hostbuf.com/downloads/finalshell_install.exe#/dl.7z"
}
}