@@ -8034,6 +8034,47 @@ customSingBoxInstall() {
80348034 fi
80358035}
80368036
8037+ # 一键无域名Xray-core Reality
8038+ installXrayReality () {
8039+ selectCustomInstallType=" ,7,"
8040+ readLastInstallationConfig
8041+ unInstallSubscribe
8042+ totalProgress=6
8043+ installTools 1
8044+
8045+ handleNginx stop
8046+
8047+ # 安装Xray
8048+ installXray 2 false
8049+ installXrayService 3
8050+ initXrayConfig custom 4
8051+ cleanUp singBoxDel
8052+
8053+ handleXray stop
8054+ handleXray start
8055+ # 生成账号
8056+ checkGFWStatue 5
8057+ showAccounts 6
8058+ }
8059+ # 一键无域名sing-box Reality
8060+ installSingBoxReality () {
8061+
8062+ selectCustomInstallType=" ,7,"
8063+ readLastInstallationConfig
8064+ unInstallSubscribe
8065+ totalProgress=6
8066+ installTools 1
8067+
8068+ installSingBox 2
8069+ installSingBoxService 3
8070+ initSingBoxConfig custom 4
8071+ cleanUp xrayDel
8072+ handleSingBox stop
8073+ handleSingBox start
8074+ # 生成账号
8075+ checkGFWStatue 5
8076+ showAccounts 6
8077+ }
80378078# Xray-core个性化安装
80388079customXrayInstall () {
80398080 echoContent skyBlue " \n========================个性化安装============================"
@@ -8140,17 +8181,26 @@ selectCoreInstall() {
81408181 read -r -p " 请选择:" selectCoreType
81418182 case ${selectCoreType} in
81428183 1)
8143- if [[ " ${selectInstallType} " == " 2" ]]; then
8144- customXrayInstall
8145- else
8184+ if [[ " ${selectInstallType} " == " 1" ]]; then
81468185 xrayCoreInstall
8186+ elif [[ " ${selectInstallType} " == " 2" ]]; then
8187+ customXrayInstall
8188+ elif [[ " ${selectInstallType} " == " 3" ]]; then
8189+ installXrayReality
81478190 fi
81488191 ;;
81498192 2)
8150- if [[ " ${selectInstallType} " == " 2" ]]; then
8151- customSingBoxInstall
8152- else
8193+ if [[ " ${selectInstallType} " == " 1" ]]; then
81538194 singBoxInstall
8195+ elif [[ " ${selectInstallType} " == " 2" ]]; then
8196+ customSingBoxInstall
8197+ elif [[ " ${selectInstallType} " == " 3" ]]; then
8198+ installSingBoxReality
8199+ fi
8200+ ;;
8201+ 3)
8202+ if [[ " ${selectInstallType} " == " 3" ]]; then
8203+ installReality
81548204 fi
81558205 ;;
81568206 * )
@@ -9542,7 +9592,7 @@ menu() {
95429592 cd " $HOME " || exit
95439593 echoContent red " \n=============================================================="
95449594 echoContent green " 作者:mack-a"
9545- echoContent green " 当前版本:v3.5.8 "
9595+ echoContent green " 当前版本:v3.5.9 "
95469596 echoContent green " Github:https://github.com/mack-a/v2ray-agent"
95479597 echoContent green " 描述:八合一共存脚本\c"
95489598 showInstallStatus
@@ -9565,6 +9615,7 @@ menu() {
95659615 fi
95669616
95679617 echoContent yellow " 2.任意组合安装"
9618+ echoContent yellow " 3.一键无域名Reality"
95689619 echoContent yellow " 4.Hysteria2管理"
95699620 echoContent yellow " 5.REALITY管理"
95709621 echoContent yellow " 6.Tuic管理"
@@ -9595,9 +9646,9 @@ menu() {
95959646 2)
95969647 selectCoreInstall
95979648 ;;
9598- # 3)
9599- # initXrayFrontingConfig 1
9600- # ;;
9649+ 3)
9650+ selectCoreInstall
9651+ ;;
96019652 4)
96029653 manageHysteria
96039654 ;;
0 commit comments