mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 19:55:57 +08:00
v1.4.8
~同步1.7.6版本.net内核 ~同步最新版本GeoIP数据库文件 ~在线生成配置文件时,默认添加udp支持 ~修复个人sub源无法使用的bug ~修复小闪存模式下面板无法正常更新的bug
This commit is contained in:
parent
8dcaa7908f
commit
1969c8cb8c
Binary file not shown.
|
@ -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
|
||||||
|
|
|
@ -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支持
|
||||||
|
|
Loading…
Reference in New Issue
Block a user