Skip to content

Commit

Permalink
v1.8.0稳定版
Browse files Browse the repository at this point in the history
~部分文字说明调整
~增加自定义配置文件启动失败后的文件存档
  • Loading branch information
juewuy committed Aug 20, 2023
1 parent 757066b commit 36fe66a
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 6 deletions.
Binary file modified bin/ShellClash.tar.gz
Binary file not shown.
Binary file modified bin/clashfm.tar.gz
Binary file not shown.
Binary file modified bin/public.tar.gz
Binary file not shown.
3 changes: 1 addition & 2 deletions bin/release_version
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
1.8.0
1.7.0
1.6.3
1.5.1
1.3.0
1.2.0
1.1.0
1.0.0beta11
0.9.7
2 changes: 1 addition & 1 deletion bin/version
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ clashnet_v=v1.7.6
clashpre_v=2022.11.25
clash_v=v1.7.1
meta_v=v1.15.0
versionsh=1.7.10h
GeoIP_v=20230819
versionsh=1.8.0
4 changes: 2 additions & 2 deletions scripts/clash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1184,9 +1184,9 @@ clashcfg(){
echo -e "\033[33m切换模式后需要手动重启clash服务以生效!\033[0m"
echo -----------------------------------------------
echo -e " 1 fake-ip模式: \033[32m响应速度更快\033[0m"
echo -e " 兼容性比较差,部分应用可能打不开"
echo -e " 不支持绕过CN-IP功能"
echo -e " 2 redir_host模式:\033[32m兼容性更好\033[0m"
echo -e " 不支持Tun模式,抗污染能力略差"
echo -e " 需搭配加密DNS使用"
echo " 0 返回上级菜单"
read -p "请输入对应数字 > " num
if [ -z "$num" ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/init.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright (C) Juewuy

version=1.7.10h
version=1.8.0

setdir(){
dir_avail(){
Expand Down
2 changes: 2 additions & 0 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,8 @@ EOF
if [ "$?" != 0 ];then
logger "$($bindir/clash -t -d $bindir -f $TMPDIR/config.yaml | grep -Eo 'error.*=.*')" 31
logger "自定义配置文件校验失败!将使用基础配置文件启动!" 33
logger "错误详情请参考 $TMPDIR/error.yaml 文件!" 33
mv -f $TMPDIR/config.yaml $TMPDIR/error.yaml &>/dev/null
sed -i "/#自定义策略组开始/,/#自定义策略组结束/d" $TMPDIR/proxy-groups.yaml
mv -f $TMPDIR/set_bak.yaml $TMPDIR/set.yaml &>/dev/null
#合并基础配置文件
Expand Down

0 comments on commit 36fe66a

Please sign in to comment.