~providers功能现在支持导入本地yaml文件

~修复provides功能在meta内核未能正确跳过证书验证的bug
~修复本地导入CrashCore命名的内核时未正确提示的bug
~修复自动更新数据库任务明明成功却提示执行失败的bug
~修复自动更新数据库会更新一些当前无用数据库文件的bug
This commit is contained in:
juewuy
2024-03-03 20:34:14 +08:00
parent c6f8513d7f
commit 0a5e06c4e9
3 changed files with 50 additions and 21 deletions

View File

@@ -108,7 +108,7 @@ ckstatus(){
#检查执行权限
[ ! -x ${CRASHDIR}/start.sh ] && chmod +x ${CRASHDIR}/start.sh
#检查/tmp内核文件
for file in `ls -F /tmp | grep -v [/\$] | grep -v ' ' | grep -Ev ".*[(gz)(zip)(7z)(tar)]$" | grep -iE '^clash$|^clash-linux.*|^mihomo.*|^sing.*box|^clash.meta.*'` ; do
for file in `ls -F /tmp | grep -v [/\$] | grep -v ' ' | grep -Ev ".*[(gz)(zip)(7z)(tar)]$" | grep -iE 'CrashCore|^clash$|^clash-linux.*|^mihomo.*|^sing.*box|^clash.meta.*'` ; do
file=/tmp/$file
chmod +x $file
echo -e "发现可用的内核文件: \033[36m$file\033[0m "