diff --git a/bin/clashfm.tar.gz b/bin/clashfm.tar.gz index 96d5a74..b62a2bb 100644 Binary files a/bin/clashfm.tar.gz and b/bin/clashfm.tar.gz differ diff --git a/scripts/getdate.sh b/scripts/getdate.sh index 8231f98..2984878 100644 --- a/scripts/getdate.sh +++ b/scripts/getdate.sh @@ -427,6 +427,10 @@ if [ "$res" = '1' ]; then getdb else echo -e "\033[33m下载成功,正在解压文件!\033[0m" + if cat /proc/mounts | grep -q www ;then + echo 检测到/www为只读,正在重新挂载! + mount -o remount -rw /www + fi mkdir -p /www/clash > /dev/null tar -zxvf '/tmp/clashdb.tar.gz' -C /www/clash > /dev/null [ $? -ne 0 ] && echo "文件解压失败!" && exit 1