浏览代码

fix: v2.1.5

jonssonyan 2 年之前
父节点
当前提交
73415b6572
共有 2 个文件被更改,包括 8 次插入0 次删除
  1. 4 0
      archive/install_script_v2.1.5.sh
  2. 4 0
      install_script.sh

+ 4 - 0
archive/install_script_v2.1.5.sh

@@ -803,6 +803,7 @@ install_cert() {
     while :; do
       echo_content yellow "1. 安装Caddy 2(自动申请/续签证书)"
       echo_content yellow "2. 手动设置证书路径"
+      echo_content yellow "3. 不设置"
       read -r -p "请选择(默认:1): " whether_install_cert
       [[ -z "${whether_install_cert}" ]] && whether_install_cert=1
 
@@ -815,6 +816,9 @@ install_cert() {
         install_custom_cert "custom_cert"
         break
         ;;
+      3)
+        break
+        ;;
       *)
         echo_content red "没有这个选项"
         continue

+ 4 - 0
install_script.sh

@@ -803,6 +803,7 @@ install_cert() {
     while :; do
       echo_content yellow "1. 安装Caddy 2(自动申请/续签证书)"
       echo_content yellow "2. 手动设置证书路径"
+      echo_content yellow "3. 不设置"
       read -r -p "请选择(默认:1): " whether_install_cert
       [[ -z "${whether_install_cert}" ]] && whether_install_cert=1
 
@@ -815,6 +816,9 @@ install_cert() {
         install_custom_cert "custom_cert"
         break
         ;;
+      3)
+        break
+        ;;
       *)
         echo_content red "没有这个选项"
         continue