Skip to content

Commit

Permalink
add qv2ray-nightly (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoilc committed May 17, 2022
1 parent c423542 commit 00c93c1
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions bucket/qv2ray-nightly.json
@@ -0,0 +1,56 @@
{
"version": "0982b41f",
"description": "(Nightly Build) A cross platform connection manager for V2Ray and other backends.",
"homepage": "https://github.com/Shadowsocks-NET/Qv2ray",
"license": "GPL-3.0-or-later",
"suggest": {
"v2ray": "v2ray",
"vcredist": "extras/vcredist2022"
},
"architecture": {
"64bit": {
"url": "https://nightly.link/Shadowsocks-NET/Qv2ray/workflows/build/main/Qv2ray-0982b41f7ecb4bb1ccf421d2d84c0867b3c9978e-Windows.7z.zip",
"hash": "c672c4cac35dd9e4b816859761ac418cd54d2b5c1db24bbf8cc632b4583b8929"
}
},
"pre_install": [
"Expand-7zipArchive -Path \"$dir\\Qv2ray.7z\" -DestinationPath \"$dir\" -ExtractDir 'Qv2ray' -Removal",
"Remove-Item \"$dir\\vc_red*exe\"",
"if (-not (Test-Path \"$persist_dir\\config\\plugin_settings\\builtin_v2ray_support.json\")) {",
" ensure \"$dir\\config\\plugin_settings\" | Out-Null",
" New-Item \"$dir\\config\\QV2RAY_FEATURE_DISABLE_AUTO_UPDATE\" | Out-Null",
" $v2ray_dir = appdir 'v2ray' $global",
" if (Test-Path $v2ray_dir) {",
" $current = $v2ray_dir | Join-Path -ChildPath 'current'",
" @{",
" 'CorePath' = \"$current\\v2ray.exe\"",
" 'AssetsPath' = \"$current\"",
" } | ConvertTo-Json -Depth 20 | Out-File \"$dir\\config\\plugin_settings\\builtin_v2ray_support.json\"",
" }",
"}"
],
"bin": [
[
"qv2ray.exe",
"qv2ray-nightly"
]
],
"shortcuts": [
[
"qv2ray.exe",
"Qv2ray Nightly"
]
],
"persist": "config",
"checkver": {
"url": "https://nightly.link/Shadowsocks-NET/Qv2ray/workflows/build/main",
"regex": "Qv2ray-(?<full>([0-9a-f]{8})[0-9a-f]+)-Windows"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://nightly.link/Shadowsocks-NET/Qv2ray/workflows/build/main/Qv2ray-$matchFull-Windows.7z.zip"
}
}
}
}

0 comments on commit 00c93c1

Please sign in to comment.