mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 03:32:34 +08:00
v1.8.5f
~修复定时任务无法生效以及启动后报错的bug ~修复本地/tmp导入内核时不记录版本号的bug ~修复升级后内核版本号丢失的bug ~调整singbox配置文件本地导入策略,现在只会导入config.json
This commit is contained in:
parent
ff4fcf736b
commit
f9163f949b
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
|
||||
meta_v=v1.18.0
|
||||
singbox_v=1.7.8
|
||||
versionsh=1.8.5d
|
||||
versionsh=1.8.5f
|
||||
GeoIP_v=20240107
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
# Copyright (C) Juewuy
|
||||
|
||||
version=1.8.5d
|
||||
version=1.8.5f
|
||||
|
||||
setdir(){
|
||||
dir_avail(){
|
||||
|
|
|
@ -673,9 +673,10 @@ EOF
|
|||
#分割配置文件获得outbounds.json及route.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
|
||||
#清理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 's/"auto_detect_interface": true/"auto_detect_interface": false/g' ${TMPDIR}/route.json
|
||||
#跳过本地tls证书验证
|
||||
if [ -z "$skip_cert" -o "$skip_cert" = "已开启" ];then
|
||||
sed -i 's/"insecure": false/"insecure": true/' ${TMPDIR}/outbounds.json
|
||||
|
|
Loading…
Reference in New Issue
Block a user