~同步最新Meta内核
~同步最新Pre内核,支持域名嗅探
~增加启动管理菜单
~增加延时启动功能
~移除流媒体预解析功能,请用7-4域名嗅探
~域名嗅探功能默认改为为启用状态(限Pre或Meta生效)
~增加小闪存模式自定义目录功能
~内置DNS改为优先读取config.yaml
~新手引导简化调整
~修复正式版无法安装的问题
This commit is contained in:
juewuy
2022-11-20 20:12:37 +08:00
parent 301565f8f5
commit 1991ef3489
6 changed files with 200 additions and 284 deletions

View File

@@ -58,12 +58,12 @@ webget(){
fi
}
#检查更新
url_cdn="https://raw.githubusercontents.com/juewuy/ShellClash"
url_cdn="https://raw.fastgit.org/juewuy/ShellClash"
[ -z "$url" ] && url=$url_cdn
echo -----------------------------------------------
$echo "\033[33m请选择想要安装的版本\033[0m"
$echo " 1 \033[32mShellclash正式版\033[0m"
$echo " 2 \033[31mShellclash测版\033[0m"
$echo " 1 \033[36mShellclash稳定版\033[0m"
$echo " 2 \033[32mShellclash测版\033[0m(推荐)"
echo -----------------------------------------------
read -p "请输入相应数字 > " num
if [ -z $num ];then
@@ -74,7 +74,7 @@ elif [ "$num" = "1" ];then
release_new=$(cat /tmp/clashrelease | head -1)
url_dl="$url_cdn/$release_new"
else
echo "无法切换版本,尝试安装测版!"
echo "无法获取稳定版安装地址,将尝试安装测版!"
fi
fi
[ -z "$url_dl" ] && url_dl=$url