/
v2raya-unstable-np.json
65 lines (65 loc) · 3.74 KB
/
v2raya-unstable-np.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
{
"version": "20240414.r1539.b0e207f5",
"description": "v2rayA(unstable version, inno installer). A web GUI client of Project V which supports VMess, VLESS, SS, SSR, Trojan, Tuic and Juicity protocols.",
"homepage": "https://github.com/v2rayA/v2raya",
"license": {
"identifier": "AGPL-3.0-only",
"url": "https://github.com/v2rayA/v2rayA/raw/master/LICENSE"
},
"architecture": {
"64bit": {
"url": "https://nightly.link/v2rayA/v2rayA/actions/runs/8680163729/installer_windows_inno_x64_unstable-20240414.r1539.b0e207f5.exe.zip",
"hash": "2ed54af2273570ba0f057ffae2602a75bc55b353e0feefd178c0f451e4ea4041",
"pre_install": "Rename-Item \"$dir\\installer_windows_inno_x64_unstable-$version.exe\" 'setup.exe' -ErrorAction 'SilentlyContinue' -Force"
},
"arm64": {
"url": "https://nightly.link/v2rayA/v2rayA/actions/runs/8680163729/installer_windows_inno_arm64_unstable-20240414.r1539.b0e207f5.exe.zip",
"hash": "1d743526a8d8cc4b4b95ef4bb730d59f1ba37ec0bc3bc0d8217852381af12487",
"pre_install": "Rename-Item \"$dir\\installer_windows_inno_arm64_unstable-$version.exe\" 'setup.exe' -ErrorAction 'SilentlyContinue' -Force"
}
},
"installer": {
"script": [
"$args = @('/VERYSILENT', '/NORESTART', \"/DIR=`\"$dir`\"\")",
"Start-Process \"$dir\\setup.exe\" -ArgumentList $args -Wait -Verb RunAs",
"@('reset-passwd-v2raya-np') | ForEach-Object {",
" $content = Get-Content \"$bucketsdir\\v2raya\\scripts\\v2raya\\$_.ps1\"",
" $content = $content.Replace('v2raya-np', ' v2raya-unstable-np')",
" $content | Set-Content -Path \"$dir\\reset-passwd-v2raya-unstable-np.ps1\" -Encoding Ascii",
"}",
"#Remove-Item \"$([Environment]::GetFolderPath('commonstartmenu'))\\Programs\\v2rayA\" -Force -Recurse -ErrorAction 'SilentlyContinue'",
"Remove-Item \"$dir\\setup.exe\" -Force -ErrorAction 'SilentlyContinue'",
"$v2raya_startmenu_folder = [System.IO.Path]::Combine([Environment]::GetFolderPath('CommonStartMenu'), 'Programs', 'v2rayA')",
"if ($global) { $startmenu = 'CommonStartMenu' } else { $startmenu = 'StartMenu' }",
"$scoop_startmenu_folder = [System.IO.Path]::Combine([Environment]::GetFolderPath($startmenu), 'Programs', 'Scoop Apps')",
"Move-Item \"$v2raya_startmenu_folder\" \"$scoop_startmenu_folder\\\" -ErrorAction 'SilentlyContinue' -Force"
]
},
"uninstaller": {
"script": [
"Start-Process \"$dir\\unins000.exe\" -ArgumentList @('/VERYSILENT', '/NORESTART') -Wait -Verb RunAs",
"if ($global) { $startmenu = 'CommonStartMenu' } else { $startmenu = 'StartMenu' }",
"$scoop_startmenu_folder = [System.IO.Path]::Combine([Environment]::GetFolderPath($startmenu), 'Programs', 'Scoop Apps')",
"Remove-Item \"$scoop_startmenu_folder\\v2rayA\" -Recurse -Force -ErrorAction 'SilentlyContinue'"
]
},
"bin": [
"v2rayA-service.exe",
"reset-passwd-v2raya-unstable-np.ps1"
],
"persist": "config",
"checkver": {
"url": "https://scoop-apps.vercel.app/v2rayA/v2rayA",
"regex": "(?sm)/v2rayA/v2rayA/actions/runs/(?<runid>\\d+).*?installer_windows_inno_x64_unstable-([\\w.]+)\\.exe"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://nightly.link/v2rayA/v2rayA/actions/runs/$matchRunid/installer_windows_inno_x64_unstable-$version.exe.zip"
},
"arm64": {
"url": "https://nightly.link/v2rayA/v2rayA/actions/runs/$matchRunid/installer_windows_inno_arm64_unstable-$version.exe.zip"
}
}
}
}