Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Commit 8abfb37

Browse files
committed
fix: custom port
1 parent 4a55c2d commit 8abfb37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@ acmeInstallSSL() {
12531253
}
12541254
# 自定义端口
12551255
customPortFunction() {
1256-
local historyCustomPortStatus=
1256+
local historyCustomPortStatus="n"
12571257
local showPort=
12581258
if [[ -n "${customPort}" || -n "${currentPort}" ]]; then
12591259
echo
@@ -1267,7 +1267,7 @@ customPortFunction() {
12671267
fi
12681268
fi
12691269

1270-
if [[ "${historyCustomPortStatus}" == "n" ]] && [[ -z "${customPort}" && -z "${currentPort}" ]]; then
1270+
if [[ "${historyCustomPortStatus}" == "n" ]]; then
12711271
echo
12721272
echoContent yellow "请输入端口[默认: 443],如自定义端口,只允许使用DNS申请证书[回车使用默认]"
12731273
read -r -p "端口:" customPort
@@ -5502,7 +5502,7 @@ menu() {
55025502
echoContent red "\n=============================================================="
55035503
echoContent green "作者:Reece"
55045504
echoContent green "原作者:mack-a"
5505-
echoContent green "当前版本:v2.7.0"
5505+
echoContent green "当前版本:v2.7.1"
55065506
echoContent green "Github:https://github.com/reeceyng/v2ray-agent"
55075507
echoContent green "描述:八合一共存脚本\c"
55085508
showInstallStatus

0 commit comments

Comments
 (0)