v1.2.13 Compatible with Sing-box 1.12.0-alpha.18

This commit is contained in:
fscarmen
2025-03-18 05:43:17 +00:00
parent 490940b0af
commit bf575805bb
4 changed files with 24 additions and 16 deletions
+6 -6
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# 当前脚本版本号
VERSION='v1.2.12 (2025.01.31)'
VERSION='v1.2.13 (2025.03.18)'
# 各变量默认值
GH_PROXY='https://ghproxy.lvedong.eu.org/'
@@ -27,8 +27,8 @@ mkdir -p $TEMP_DIR
E[0]="Language:\n 1. English (default) \n 2. 简体中文"
C[0]="${E[0]}"
E[1]="In order to prevent sing-box from upgrading to a certain version which may cause errors, add a mandatory version file."
C[1]="以防止sing-box某个版本升级导致运行报错,增加强制指定版本号文件"
E[1]="Compatible with Sing-box 1.12.0-alpha.18+."
C[1]="适配 Sing-box 1.12.0-alpha.18+"
E[2]="Downloading Sing-box. Please wait a seconds ..."
C[2]="下载 Sing-box 中,请稍等 ..."
E[3]="Input errors up to 5 times.The script is aborted."
@@ -169,8 +169,8 @@ E[70]="Please set inSecure in tls to true."
C[70]="请把 tls 里的 inSecure 设置为 true"
E[71]="Create shortcut [ sb ] successfully."
C[71]="创建快捷 [ sb ] 指令成功!"
E[72]="Path to each client configuration file: ${WORK_DIR}/subscribe/\n The full template can be found at:\n https://t.me/ztvps/100\n https://github.com/chika0801/sing-box-examples/tree/main/Tun"
C[72]="各客户端配置文件路径: ${WORK_DIR}/subscribe/\n 完整模板可参照:\n https://t.me/ztvps/100\n https://github.com/chika0801/sing-box-examples/tree/main/Tun"
E[72]="Path to each client configuration file: ${WORK_DIR}/subscribe/\n The full template can be found at:\n https://github.com/chika0801/sing-box-examples/tree/main/Tun"
C[72]="各客户端配置文件路径: ${WORK_DIR}/subscribe/\n 完整模板可参照:\n https://github.com/chika0801/sing-box-examples/tree/main/Tun"
E[73]="There is no protocol left, if you are sure please re-run [ sb -u ] to uninstall all."
C[73]="没有协议剩下,如确定请重新执行 [ sb -u ] 卸载所有"
E[74]="Keep protocols"
@@ -1294,7 +1294,7 @@ EOF
"dns":{
"servers":[
{
"address":"local"
"type":"local"
}
]
}