v0.9.9
~新增保守方式启动,适配更多设备(小米3HD,以及其他linux系统) ~新增进阶功能菜单 ~修复了geoip数据库偶尔丢失的bug(感谢Pan Peter同学提交bug!) ~增加了另一种本地面板的安装方式 ~UI优化 ~bug修复
This commit is contained in:
@@ -428,7 +428,7 @@ echo -e "\033[32m打开管理面板的速度更快且更稳定"
|
||||
echo -e "\033[33m需要占用约500kb的本地空间\033[0m"
|
||||
echo -----------------------------------------------
|
||||
echo " 1 在/www/clash目录安装(http://$host/clash,可能安装失败!)"
|
||||
echo " 2 在$clashdir/ui目录安装(http://$host:9999/ui,推荐!)"
|
||||
echo " 2 在$clashdir/ui目录安装(http://$host:9999/ui,安装后需重启clash)"
|
||||
echo -----------------------------------------------
|
||||
echo " 0 返回上级菜单!"
|
||||
read -p "请输入对应数字 > " num
|
||||
@@ -437,10 +437,10 @@ if [ -z "$num" ];then
|
||||
update
|
||||
elif [ "$num" = '1' ]; then
|
||||
dbdir=/www/clash
|
||||
hostdir=':9999/ui'
|
||||
hostdir='/clash\033[0;36m访问面板'
|
||||
elif [ "$num" = '2' ]; then
|
||||
dbdir=$clashdir/ui
|
||||
hostdir='/clash'
|
||||
hostdir=':9999/ui\033[0;36m访问面板(需重启clash服务!)'
|
||||
else
|
||||
update
|
||||
fi
|
||||
@@ -479,7 +479,7 @@ fi
|
||||
#
|
||||
echo -e "\033[32m面板安装成功!\033[0m"
|
||||
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
echo -e "\033[36m请使用\033[32;4mhttp://$host$hostdir\033[0;36m访问面板\033[0m"
|
||||
echo -e "\033[36m请使用\033[32;4mhttp://$host$hostdir\033[0m"
|
||||
rm -rf /tmp/clashdb.tar.gz
|
||||
update
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user