~自动导入/tmp下yaml文件时增加检测机制
~修复未安装面板时启动依然提示本地面板连接信息的bug
This commit is contained in:
juewuy
2023-01-28 13:05:07 +08:00
parent ac0e024787
commit 7fd3d79669
2 changed files with 6 additions and 5 deletions

View File

@@ -554,7 +554,7 @@ setgeo(){
getdb(){
#下载及安装
if [ -d /www/clash -o -d $clashdir/ui ];then
if [ -f /www/clash/index.html -o -f $clashdir/ui/index.html ];then
echo -----------------------------------------------
echo -e "\033[31m检测到您已经安装过本地面板了\033[0m"
echo -----------------------------------------------