Update install-release.sh

pull/74/head
shake 2024-05-15 16:39:53 +08:00 committed by GitHub
parent ada7770627
commit a29a2cb48c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -485,7 +485,7 @@ install_xray() {
# shellcheck disable=SC2153
if [[ -z "$JSONS_PATH" ]] && [[ ! -d "$JSON_PATH" ]]; then
install -d "$JSON_PATH"
echo "{
echo '{
"inbounds": [ // 服务端入站配置
{
"listen": "0.0.0.0",
@ -533,7 +533,7 @@ install_xray() {
"tag": "blocked"
}
]
} " > "${JSON_PATH}/config.json"
} ' > "${JSON_PATH}/config.json"
CONFIG_NEW='1'
fi