diff --git a/bin/clashfm.tar.gz b/bin/clashfm.tar.gz index c82ae65..bd25d83 100644 Binary files a/bin/clashfm.tar.gz and b/bin/clashfm.tar.gz differ diff --git a/scripts/getdate.sh b/scripts/getdate.sh index 1c5efbd..2c7aa42 100644 --- a/scripts/getdate.sh +++ b/scripts/getdate.sh @@ -544,6 +544,7 @@ getdb(){ if [ "$res" = 1 ]; then rm -rf /www/clash rm -rf $clashdir/ui + rm -rf $bindir/ui fi fi dblink="${update_url}/bin/${db_type}.tar.gz" @@ -634,6 +635,7 @@ setdb(){ if [ "$res" = 1 ];then rm -rf /www/clash rm -rf $clashdir/ui + rm -rf $bindir/ui echo ----------------------------------------------- echo -e "\033[31m面板已经卸载!\033[0m" sleep 1 diff --git a/scripts/start.sh b/scripts/start.sh index 1266172..0fda1b2 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -638,8 +638,7 @@ bfstart(){ fi fi #检查dashboard文件 - if [ -f $clashdir/ui/index.html ];then - rm -rf $bindir/ui + if [ -f $clashdir/ui/index.html -a ! -f $bindir/ui/index.html ];then cp -rf $clashdir/ui $bindir fi #检查curl或wget支持