v1.0.0beta16.3

~修复部分设备启动时报错的bug
~大幅度优化新手引导
~新增小闪存模式,适合ROM大小较低的设备使用
~全新的下载机制,现在会在运行时自动下载核心文件
~修复部分设备tun模式不可启用的bug
This commit is contained in:
juewuy
2020-11-01 20:15:11 +08:00
parent e62797205c
commit 7ee2085ce4
3 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@@ -1,4 +1,4 @@
clash_v=1.2.0
clashpre_v=2020.10.26
GeoIP_v=20201031
versionsh=1.0.0beta16.2
versionsh=1.0.0beta16.3

View File

@@ -418,6 +418,8 @@ EOF
[ "$?" = 0 ] && rm -rf /tmp/clash_pac || mv -f /tmp/clash_pac $bindir/ui/pac
}
bfstart(){
#读取配置文件
getconfig
[ ! -d $bindir/ui ] && mkdir -p $bindir/ui
[ -z "$update_url" ] && update_url=https://cdn.jsdelivr.net/gh/juewuy/ShellClash@master
#检查clash核心
@@ -484,7 +486,7 @@ afstart(){
else
logger "clash服务启动失败请查看报错信息" 31
logger `$bindir/clash -t -d $bindir 1>&0` 0
$0 stop &
$0 stop
exit 1
fi
exit 0