mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 19:55:57 +08:00
v1.1.8-test
~新增自定义本机host地址的功能(7-6-8) ~屏蔽核心自带的节点保存功能(会占用更多空间) ~修复部分情况下检测本机host失败的bug ~修复部分情况下导入包含“&”符号的配置文件失败的bug ~修复Debian等默认使用dash的系统下运行出错的bug
This commit is contained in:
parent
7acac3c6e9
commit
5153ca84e1
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
clash_v=1.4.2
|
||||
clashpre_v=2021.03.10
|
||||
GeoIP_v=20210312
|
||||
versionsh=1.1.7
|
||||
versionsh=1.1.8
|
||||
|
|
|
@ -217,6 +217,7 @@ getlink2(){
|
|||
read -p "请输入完整链接 > " link
|
||||
test=$(echo $link | grep -iE "tp.*://" )
|
||||
link=`echo ${link/\ \(*\)/''}` #删除恶心的超链接内容
|
||||
link=`echo ${link//\&/\\\&}` #为分隔符 & 添加转义
|
||||
if [ -n "$link" -a -n "$test" ];then
|
||||
echo -----------------------------------------------
|
||||
echo -e 请检查输入的链接是否正确:
|
||||
|
|
Loading…
Reference in New Issue
Block a user