From 85de9d0bbd621e5bbd6f4277e7c48dc43d1bb826 Mon Sep 17 00:00:00 2001 From: juewuy Date: Fri, 14 Aug 2020 21:31:06 +0800 Subject: [PATCH] =?UTF-8?q?v0.9.2=20~=E6=B7=BB=E5=8A=A0=E5=B1=80=E5=9F=9F?= =?UTF-8?q?=E7=BD=91=E8=AE=BE=E5=A4=87=E8=BF=87=E6=BB=A4=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=20~=E4=BF=AE=E5=A4=8D=E6=9C=AC=E5=9C=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E4=B8=8D=E6=AD=A3=E5=B8=B8=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/clashfm.tar.gz | Bin 12249 -> 12249 bytes scripts/getdate.sh | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/clashfm.tar.gz b/bin/clashfm.tar.gz index 2de34764c60f9c06ff64d21027e931eef8039c74..8676f0469c390b3c47ff8ee0eed7986a3005d77f 100644 GIT binary patch delta 15 WcmcZ^e>0v0v=R diff --git a/scripts/getdate.sh b/scripts/getdate.sh index 93a7433..091ceb0 100644 --- a/scripts/getdate.sh +++ b/scripts/getdate.sh @@ -250,9 +250,10 @@ if [ "$res" = '1' ]; then [ $? -ne 0 ] && echo "文件解压失败!" && exit 1 #初始化文件目录 mv $clashdir/clashservice /etc/init.d/clash #将clash服务文件移动到系统目录 - chmod 777 $clashdir/clash #授予权限 chmod 777 /etc/init.d/clash #授予权限 - + #写入版本号 + sed -i '/versionsh_l=*/'d $ccfg + sed -i "1i\versionsh_l=$versionsh" $ccfg #删除临时文件 rm -rf /tmp/clashfm.tar.gz rm -rf /tmp/clashversion