v1.3.6-test

~增加了对生成配置文件时指定clash为文件头的功能
~使用在线生成配置时,强制使用dler.io作为dler的api地址
~非root用户切换运行模式时,增加警告提示
~修复crontab命令偶尔报错的问题
~增加对谷歌dns的强制代理配置(尝试解决奈飞TV端问题)
~增加了部分fake-ip-filter地址
This commit is contained in:
juewuy
2021-06-12 13:16:54 +08:00
parent f0da10af6e
commit 8906077709
4 changed files with 8 additions and 8 deletions

View File

@@ -677,8 +677,8 @@ clashcfg(){
elif [ "$num" = 1 ]; then
if [ "$USER" != "root" -a "$USER" != "admin" ];then
echo -----------------------------------------------
echo -e "\033[33m非root用户无法启用静态路由仅可以使用纯净模式\033[0m"
sleep 1
read -p "非root用户可能无法正确配置其他模式依然尝试吗(1/0) > " res
[ "$res" = 1 ] && set_redir_mod
else
set_redir_mod
fi