/
frpc.json
34 lines (34 loc) · 1.13 KB
/
frpc.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
{
"version": "0.57.0",
"description": "frp 客户端.",
"homepage": "https://github.com/fatedier/frp",
"license": "Apache-2.0",
"architecture": {
"64bit": {
"url": "https://github.com/fatedier/frp/releases/download/v0.57.0/frp_0.57.0_windows_amd64.zip",
"hash": "18b6a345f7d4fb9250b8d751a99f58a0a2daace02a1f7a4e7bb567237e681335",
"extract_dir": "frp_0.57.0_windows_amd64"
}
},
"bin": "frpc.exe",
"persist": "frpc.toml",
"post_install": [
"if (Test-Path \"$dir\\frps.exe\") {",
" Remove-Item \"$dir\\frps.exe\" -Force",
" Remove-Item \"$dir\\frps.toml\" -Force",
"}"
],
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/fatedier/frp/releases/download/v$version/frp_$version_windows_amd64.zip",
"hash": {
"url": "$baseurl/frp_sha256_checksums.txt",
"regex": "$sha256\\s+$basename"
},
"extract_dir": "frp_$version_windows_amd64"
}
}
}
}