generated from ScoopInstaller/BucketTemplate
/
hysteria2.json
36 lines (36 loc) · 1.54 KB
/
hysteria2.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
{
"version": "2.4.3",
"description": "(Version 2.x) A feature-packed proxy & relay tool optimized for lossy, unstable connections.",
"homepage": "https://github.com/HyNetwork/hysteria",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://github.com/apernet/hysteria/releases/download/app%2Fv2.4.3/hysteria-windows-amd64-avx.exe#/hysteria.exe",
"hash": "e8b660e0d7302767c013a00d7605bb7c17810cdcf0d58095e5a176b0df78e118"
},
"32bit": {
"url": "https://github.com/apernet/hysteria/releases/download/app%2Fv2.4.3/hysteria-windows-386.exe#/hysteria.exe",
"hash": "4e669f5706da2e75fea8f05332d9caac0ca31475d6864eeb8dae693cf19efcbe"
}
},
"bin": "hysteria.exe",
"pre_install": "if (!(Test-Path \"$persist_dir\\config.json\")) { Set-Content -Encoding ASCII -Path \"$dir\\config.yaml\" -Value $null }",
"persist": "config.yaml",
"checkver": {
"url": "https://github.com/apernet/hysteria/releases",
"regex": "/apernet/hysteria/tree/app/v(2[\\d.]+)\""
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/apernet/hysteria/releases/download/app%2Fv$version/hysteria-windows-amd64-avx.exe#/hysteria.exe"
},
"32bit": {
"url": "https://github.com/apernet/hysteria/releases/download/app%2Fv$version/hysteria-windows-386.exe#/hysteria.exe"
}
},
"hash": {
"url": "$baseurl/hashes.txt"
}
}
}