~同步1.7.6版本.net内核
~同步最新版本GeoIP数据库文件
~在线生成配置文件时,默认添加udp支持
~修复个人sub源无法使用的bug
~修复小闪存模式下面板无法正常更新的bug
This commit is contained in:
juewuy 2022-01-02 23:38:35 +08:00
parent 8dcaa7908f
commit 1969c8cb8c
3 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -544,6 +544,7 @@ getdb(){
if [ "$res" = 1 ]; then if [ "$res" = 1 ]; then
rm -rf /www/clash rm -rf /www/clash
rm -rf $clashdir/ui rm -rf $clashdir/ui
rm -rf $bindir/ui
fi fi
fi fi
dblink="${update_url}/bin/${db_type}.tar.gz" dblink="${update_url}/bin/${db_type}.tar.gz"
@ -634,6 +635,7 @@ setdb(){
if [ "$res" = 1 ];then if [ "$res" = 1 ];then
rm -rf /www/clash rm -rf /www/clash
rm -rf $clashdir/ui rm -rf $clashdir/ui
rm -rf $bindir/ui
echo ----------------------------------------------- echo -----------------------------------------------
echo -e "\033[31m面板已经卸载\033[0m" echo -e "\033[31m面板已经卸载\033[0m"
sleep 1 sleep 1

View File

@ -638,8 +638,7 @@ bfstart(){
fi fi
fi fi
#检查dashboard文件 #检查dashboard文件
if [ -f $clashdir/ui/index.html ];then if [ -f $clashdir/ui/index.html -a ! -f $bindir/ui/index.html ];then
rm -rf $bindir/ui
cp -rf $clashdir/ui $bindir cp -rf $clashdir/ui $bindir
fi fi
#检查curl或wget支持 #检查curl或wget支持