diff --git a/bin/clashfm.tar.gz b/bin/clashfm.tar.gz index 060c700..4268af8 100644 Binary files a/bin/clashfm.tar.gz and b/bin/clashfm.tar.gz differ diff --git a/scripts/clash.sh b/scripts/clash.sh index b634b37..eb11c92 100644 --- a/scripts/clash.sh +++ b/scripts/clash.sh @@ -13,6 +13,10 @@ versionsh_l=0.8.5 #更新服务器地址 update_url="https://juewuy.xyz/clash" #文件路径 +if [ -z $clashdir ];then +clashdir=$(dirname $(readlink -f "$0")) +echo "export clashdir=\"$clashdir\"" >> /etc/profile +fi ccfg=$clashdir/mark yaml=$clashdir/config.yaml #检查标识文件