mirror of https://github.com/mack-a/v2ray-agent
fix(脚本): 修复xray-core自定义安装无法默认安装0的问题
parent
513cba2e7d
commit
2b76bb7fb1
11
install.sh
11
install.sh
|
@ -7696,16 +7696,17 @@ customXrayInstall() {
|
|||
echoContent red " ---> 多选请使用英文逗号分隔"
|
||||
exit 0
|
||||
fi
|
||||
if [[ "${selectCustomInstallType//,/}" =~ ^[0-5]+$ ]]; then
|
||||
|
||||
|
||||
if [[ "${selectCustomInstallType}" == "7" ]]; then
|
||||
selectCustomInstallType=",${selectCustomInstallType},"
|
||||
else
|
||||
if ! echo "${selectCustomInstallType}" | grep -q "0,"; then
|
||||
selectCustomInstallType=",0,${selectCustomInstallType},"
|
||||
else
|
||||
selectCustomInstallType=",${selectCustomInstallType},"
|
||||
fi
|
||||
fi
|
||||
if [[ "${selectCustomInstallType}" == "7" ]]; then
|
||||
selectCustomInstallType=",${selectCustomInstallType},"
|
||||
fi
|
||||
|
||||
# if [[ "${selectCustomInstallType: -1}" != "," ]]; then
|
||||
# selectCustomInstallType="${selectCustomInstallType},"
|
||||
|
@ -9170,7 +9171,7 @@ menu() {
|
|||
cd "$HOME" || exit
|
||||
echoContent red "\n=============================================================="
|
||||
echoContent green "作者:mack-a"
|
||||
echoContent green "当前版本:v3.2.54"
|
||||
echoContent green "当前版本:v3.2.55"
|
||||
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
||||
echoContent green "描述:八合一共存脚本\c"
|
||||
showInstallStatus
|
||||
|
|
Loading…
Reference in New Issue