mirror of https://github.com/XTLS/Xray-install
Update install-release.sh
parent
ada7770627
commit
a29a2cb48c
|
@ -485,7 +485,7 @@ install_xray() {
|
||||||
# shellcheck disable=SC2153
|
# shellcheck disable=SC2153
|
||||||
if [[ -z "$JSONS_PATH" ]] && [[ ! -d "$JSON_PATH" ]]; then
|
if [[ -z "$JSONS_PATH" ]] && [[ ! -d "$JSON_PATH" ]]; then
|
||||||
install -d "$JSON_PATH"
|
install -d "$JSON_PATH"
|
||||||
echo "{
|
echo '{
|
||||||
"inbounds": [ // 服务端入站配置
|
"inbounds": [ // 服务端入站配置
|
||||||
{
|
{
|
||||||
"listen": "0.0.0.0",
|
"listen": "0.0.0.0",
|
||||||
|
@ -533,7 +533,7 @@ install_xray() {
|
||||||
"tag": "blocked"
|
"tag": "blocked"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
} " > "${JSON_PATH}/config.json"
|
} ' > "${JSON_PATH}/config.json"
|
||||||
CONFIG_NEW='1'
|
CONFIG_NEW='1'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue