v1.0.0beta15.6
~Redir模式增加基于tproxy的udp代理 ~增加自动生成pac逻辑 ~增加Gnome以及KDE桌面的自动设置本机代理功能 ~修复各种更新检测失败的bug ~修复关闭时报错的bug ~修复安装时同时下载多次的bug ~修复新手引导报错的bug
This commit is contained in:
@@ -153,7 +153,6 @@ echo 目标目录磁盘剩余:$(df -h $dir | awk '{print $4}' | sed 1d )
|
||||
read -p "确认安装?(1/0) > " res
|
||||
[ "$res" != "1" ] && setdir
|
||||
clashdir=$dir/clash
|
||||
install
|
||||
}
|
||||
|
||||
#输出
|
||||
@@ -175,9 +174,11 @@ if [ -n "$clashdir" ];then
|
||||
echo -----------------------------------------------
|
||||
$echo "\033[31m 旧版本文件已卸载!\033[0m"
|
||||
setdir
|
||||
install
|
||||
elif [ "$res" = "9" ];then
|
||||
echo 测试模式,变更安装位置
|
||||
setdir
|
||||
install
|
||||
else
|
||||
$echo "\033[31m输入错误!已取消安装!\033[0m"
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user