v1.8.5f
~修复定时任务无法生效以及启动后报错的bug ~修复本地/tmp导入内核时不记录版本号的bug ~修复升级后内核版本号丢失的bug ~调整singbox配置文件本地导入策略,现在只会导入config.json
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3,4 +3,5 @@ clashpre_v=2022.11.25
|
|||||||
clash_v=v1.7.1
|
clash_v=v1.7.1
|
||||||
meta_v=v1.18.0
|
meta_v=v1.18.0
|
||||||
singbox_v=1.7.8
|
singbox_v=1.7.8
|
||||||
versionsh=1.8.5d
|
versionsh=1.8.5f
|
||||||
|
GeoIP_v=20240107
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright (C) Juewuy
|
# Copyright (C) Juewuy
|
||||||
|
|
||||||
version=1.8.5d
|
version=1.8.5f
|
||||||
|
|
||||||
setdir(){
|
setdir(){
|
||||||
dir_avail(){
|
dir_avail(){
|
||||||
|
|||||||
@@ -673,9 +673,10 @@ EOF
|
|||||||
#分割配置文件获得outbounds.json及route.json
|
#分割配置文件获得outbounds.json及route.json
|
||||||
cat $core_config | sed -n '/"outbounds":/,/"route":/{/"route":/d; p}' > ${TMPDIR}/outbounds.json
|
cat $core_config | sed -n '/"outbounds":/,/"route":/{/"route":/d; p}' > ${TMPDIR}/outbounds.json
|
||||||
cat $core_config | sed -n '/"route":/,/"experimental":/{/"experimental":/d; p}' > ${TMPDIR}/route.json
|
cat $core_config | sed -n '/"route":/,/"experimental":/{/"experimental":/d; p}' > ${TMPDIR}/route.json
|
||||||
#清理route.json中的process_name规则
|
#清理route.json中的process_name规则以及"auto_detect_interface"
|
||||||
sed -i '/"process_name": \[/,/],$/d' ${TMPDIR}/route.json
|
sed -i '/"process_name": \[/,/],$/d' ${TMPDIR}/route.json
|
||||||
sed -i '/"process_name": "[^"]*",/d' ${TMPDIR}/route.json
|
sed -i '/"process_name": "[^"]*",/d' ${TMPDIR}/route.json
|
||||||
|
sed -i 's/"auto_detect_interface": true/"auto_detect_interface": false/g' ${TMPDIR}/route.json
|
||||||
#跳过本地tls证书验证
|
#跳过本地tls证书验证
|
||||||
if [ -z "$skip_cert" -o "$skip_cert" = "已开启" ];then
|
if [ -z "$skip_cert" -o "$skip_cert" = "已开启" ];then
|
||||||
sed -i 's/"insecure": false/"insecure": true/' ${TMPDIR}/outbounds.json
|
sed -i 's/"insecure": false/"insecure": true/' ${TMPDIR}/outbounds.json
|
||||||
|
|||||||
Reference in New Issue
Block a user