Skip to content

Commit

Permalink
v1.0.0beta17
Browse files Browse the repository at this point in the history
~同步最新版本Geoip数据库
~新增更新切换版本到其他release版本的功能
~调整release版本更新检测机制
~修复部分设备提示缺少cmb的问题
~修复使用自定义规则时,每次启动clash规则都会被重复导入的问题
~进一步优化面板保存机制
  • Loading branch information
juewuy committed Nov 8, 2020
1 parent ff7f6e7 commit 5cdf5a5
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Binary file modified bin/Country.mmdb
Binary file not shown.
Binary file modified bin/clashdb.tar.gz
Binary file not shown.
Binary file modified bin/clashfm.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions bin/version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
clash_v=1.2.0
clashpre_v=2020.10.26
GeoIP_v=20201031
versionsh=1.0.0beta16.9
GeoIP_v=20201108
versionsh=1.0.0beta17
Binary file modified bin/yacd.tar.gz
Binary file not shown.
12 changes: 6 additions & 6 deletions scripts/clash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,14 @@ setdns(){
[ -z "$dns_nameserver" ] && dns_nameserver='114.114.114.114, 223.5.5.5'
[ -z "$dns_fallback" ] && dns_fallback='1.0.0.1, 8.8.4.4'
echo -----------------------------------------------
echo -e "当前基础DNS:\033[36m$dns_nameserver\033[0m"
echo -e "当前基础DNS:\033[32m$dns_nameserver\033[0m"
echo -e "fallbackDNS:\033[36m$dns_fallback\033[0m"
echo -e "多个DNS地址请用\033[30;47m | \033[0m分隔一次性输入"
echo -e "\033[33m使用redir-host时,fallback组暂不支持tls或者https形式的DNS\033[0m"
echo -----------------------------------------------
echo -e " 1 修改基础DNS"
echo -e " 2 修改fallback_DNS"
echo -e " 3 重置DNS配置"
echo -e " 1 修改\033[32m基础DNS\033[0m"
echo -e " 2 修改\033[36mfallback_DNS\033[0m"
echo -e " 3 \033[33m重置\033[0mDNS配置"
echo -e " 4 禁用内置DNS(慎用)"
echo -e " 0 返回上级菜单"
echo -----------------------------------------------
Expand All @@ -246,14 +246,14 @@ setdns(){
read -p "请输入新的DNS > " dns_nameserver
dns_nameserver=$(echo $dns_nameserver | sed 's/|/\,\ /g')
if [ -n "$dns_nameserver" ]; then
setconfig dns_nameserver \'$dns_nameserver\'
setconfig dns_nameserver \'"$dns_nameserver"\'
echo -e "\033[32m设置成功!!!\033[0m"
fi
elif [ "$num" = 2 ]; then
read -p "请输入新的DNS > " dns_fallback
dns_fallback=$(echo $dns_fallback | sed 's/|/\,\ /g')
if [ -n "$dns_fallback" ]; then
setconfig dns_fallback \'$dns_fallback\'
setconfig dns_fallback \'"$dns_fallback"\'
echo -e "\033[32m设置成功!!!\033[0m"
fi
elif [ "$num" = 3 ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/getdate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ if [ -z "$release_new" ];then
update_url=$update_url@$release_new
fi
webget /tmp/clashversion $update_url/bin/version echooff
[ "$result" = "200" ] && source /tmp/clashversion || echo -e "\033[31m检查更新失败!\033[0m"
[ "$result" = "200" ] && source /tmp/clashversion || echo -e "\033[31m检查更新失败!请检查网络连接或更换安装源!\033[0m"
[ -z "$release_new" ] && release_new=$versionsh
rm -rf /tmp/clashversion
rm -rf /tmp/clashrelease
Expand Down

0 comments on commit 5cdf5a5

Please sign in to comment.