~新增保守方式启动,适配更多设备(小米3HD,以及其他linux系统)
~新增进阶功能菜单
~修复了geoip数据库偶尔丢失的bug(感谢Pan Peter同学提交bug!)
~UI优化
This commit is contained in:
juewuy
2020-08-22 20:08:23 +08:00
parent d090e2d9a9
commit 7971101f16
6 changed files with 213 additions and 5 deletions

View File

@@ -456,8 +456,9 @@ if [ "$res" = '1' ]; then
echo -e "\033[33m下载成功正在解压文件\033[0m"
if cat /proc/mounts | grep -q www ;then
echo 检测到/www为只读正在重新挂载
mount -o remount -rw /www
mount -o remount -w /www
fi
chmod 755 /www
mkdir -p /www/clash > /dev/null
tar -zxvf '/tmp/clashdb.tar.gz' -C /www/clash > /dev/null
[ $? -ne 0 ] && echo "文件解压失败!" && exit 1