v1.8.7c
~修复新手引导按提示开启小闪存但后续扔继续提示的bug ~移除了clash系内核在线获取配置文件时调用内核进行校验的机制
This commit is contained in:
@@ -213,16 +213,6 @@ check_clash_config(){ #检查clash配置文件
|
||||
done < ${TMPDIR}/clash_proxies_$USER
|
||||
rm -rf ${TMPDIR}/clash_proxies_$USER
|
||||
}
|
||||
#使用核心内置test功能检测
|
||||
if [ -x ${BINDIR}/CrashCore ];then
|
||||
${BINDIR}/CrashCore -t -d ${BINDIR} -f $core_config_new >/dev/null
|
||||
if [ "$?" != "0" ];then
|
||||
logger "配置文件加载失败!请查看报错信息!" 31
|
||||
${BINDIR}/CrashCore -t -d ${BINDIR} -f $core_config_new
|
||||
echo "$($BINDIR/CrashCore -t -d $BINDIR -f $core_config_new)" >> ${TMPDIR}/ShellCrash.log
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
check_singbox_config(){ #检查singbox配置文件
|
||||
#使用核心内置format功能检测并格式化
|
||||
|
||||
Reference in New Issue
Block a user