MaoKwen 59470b45ac
xray: Update to version 1.4.3, Fix persist (#2427)
* xray: Fix persist

* xray@1.4.2: Remove autoupdate.hash

* xray: Update to version 1.4.3

Co-authored-by: Issac Lin <issaclin32@gmail.com>
2021-09-19 21:56:28 +08:00

35 lines
1.2 KiB
JSON

{
"version": "1.4.3",
"description": "A platform for building proxies to bypass network restrictions",
"homepage": "https://github.com/XTLS/Xray-core",
"license": "MPL-2.0",
"architecture": {
"64bit": {
"url": "https://github.com/XTLS/Xray-core/releases/download/v1.4.3/Xray-windows-64.zip",
"hash": "77ef50d5a22c89a616e8f698584d074656e615184ff7be96d060b4626d3ee68c"
},
"32bit": {
"url": "https://github.com/XTLS/Xray-core/releases/download/v1.4.3/Xray-windows-32.zip",
"hash": "783f1f0dac8fa5d30e463c145743d47aeb948065b8bfd404c1d59a2403c49d95"
}
},
"pre_install": [
"if (!(Test-Path \"$persist_dir\\config.json\")) {",
" New-Item -Force -Path \"$dir\" -Name 'config.json' -Value '{}' | Out-Null",
"}"
],
"persist": "config.json",
"bin": "xray.exe",
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/XTLS/Xray-core/releases/download/v$version/Xray-windows-64.zip"
},
"32bit": {
"url": "https://github.com/XTLS/Xray-core/releases/download/v$version/Xray-windows-32.zip"
}
}
}
}