/
v2rayn.json
69 lines (69 loc) 路 2.47 KB
/
v2rayn.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"version": "6.43",
"description": "A V2Ray client for Windows, support Xray & v2fly core",
"homepage": "https://github.com/2dust/v2rayN",
"license": "GPL-3.0-only",
"depends": "xray",
"suggest": {
".NET Desktop Runtime": "windowsdesktop-runtime-lts",
"v2fly-core": "v2ray"
},
"architecture": {
"64bit": {
"url": "https://github.com/2dust/v2rayN/releases/download/6.43/v2rayN.zip",
"hash": "d7c12e9962cc209f07166e1d969ab4ab51b6f4e9f1a9f251738e70ec7459c84d"
},
"32bit": {
"url": "https://github.com/2dust/v2rayN/releases/download/6.43/v2rayN-32.zip",
"hash": "847c46d6673b8f839419884f0335c9aa586b3fc3b48af82f998d4fed3eb53371"
},
"arm64": {
"url": "https://github.com/2dust/v2rayN/releases/download/6.43/v2rayN-arm64.zip",
"hash": "e9549d56b0382eb6bee85c77e122887efc97394622a49d53bf3bd2bffb75c3d3"
}
},
"extract_dir": "v2rayN",
"pre_install": [
"foreach ($form in @('*.exe', '*.dat')) {",
" foreach ($_ in Get-ChildItem \"$(appdir xray $global)\\current\" -File) {",
" $name = $_.Name",
" if ($name -Like $form) {",
" Write-Host \"Creating hardlink for $name\"",
" New-Item -ItemType HardLink -Path \"$dir\\bin\\Xray\" -Name $name -Target \"$(appdir xray $global)\\current\\$name\" | Out-Null",
" }",
" }",
"}"
],
"bin": "v2rayN.exe",
"shortcuts": [
[
"v2rayN.exe",
"v2rayN"
]
],
"persist": "guiConfigs",
"uninstaller": {
"script": [
"if (Test-Path \"$dir\\guiConfigs\\config.json\") {",
" Copy-Item \"$dir\\guiConfigs\\config.json\" \"$persist_dir\\guiConfigs\\config.json\" | Out-Null",
"}"
]
},
"checkver": {
"url": "https://api.github.com/repos/2dust/v2rayN/releases?per_page=1",
"jsonpath": "$[0].tag_name"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/2dust/v2rayN/releases/download/$version/v2rayN.zip"
},
"32bit": {
"url": "https://github.com/2dust/v2rayN/releases/download/$version/v2rayN-32.zip"
},
"arm64": {
"url": "https://github.com/2dust/v2rayN/releases/download/$version/v2rayN-arm64.zip"
}
}
}
}