Skip to content

Commit

Permalink
更换clnc核心为0.9版本
Browse files Browse the repository at this point in the history
更换clnc核心为0.9版本
修复了通用自启方式
修复了规则显示错误
  • Loading branch information
EternalPain committed Nov 29, 2020
1 parent e0fbeb8 commit 7900731
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@
4. 修复部分系统开机自启无效 我加了几秒的延时
5. 修复开机自启更改路径后导致自启失效
6. 修复了热点名字或密码有空格导致显示有问题
7. 修复了通用自启方式
7. 升级本机[共享TCP端口]和[共享UDP端口]功能 可以放行端口范围
8. 升级本机[共享TCP端口]和[共享UDP端口]功能 可以放行端口范围
8. 更改面具版的防跳路径到 /data/ZJL2.0_magisk 可以避免挂载问题
9. 更改面具版的防跳路径到 /data/ZJL2.0_magisk 可以避免挂载问题
10. 更换clnc核心为0.9版本
```

****
Expand Down
14 changes: 9 additions & 5 deletions ZJL2.0beta28/模块/ZJL
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
# Author: ZJL
# QQ: 1965786708
# Version: 2.0 beta28
# Date: 2020-11-28 18:00
# Date: 2020-11-29 00:00
# FileName: ZJL
# Description: 整合tiny、clnc的免流防跳
#****************************************************

# 防跳版本
readonly zjl_version="2.0 beta28"
readonly zjl_update_date="2020-11-28 18:00"
readonly zjl_update_date="2020-11-29 00:00"

# 显示帮助 []<-(errorMsg:String)
show_help() {
Expand Down Expand Up @@ -189,9 +189,13 @@ boot_auto_on() {
# 把 debuggerd 重命名为 debuggerd.ori
`mv -f ${path} ${path}.ori`
# 写入内容到 debuggerd 文件
echo '#!/system/bin/sh\nscript()\n{\n /data/ZJL.sh\n'\
' rm -f Start.log\n chmod 777 /data/ZJL.sh\n'\
' /data/ZJL.sh &>>Start.log\n done\n}\nscript &\n'${path}.ori'' >${path}
echo "#!/system/bin/sh\n"\
"ZJL() {\n"\
" chmod 777 /data/ZJL.sh\n"\
" /data/ZJL.sh\n"\
"}\n"\
"ZJL &\n"\
"${path}.ori" >${path}
# 写入防跳路径到状态文件内
echo "#!/system/bin/sh\nsleep 10\n${0} -o" > /data/ZJL.sh
# 给三个要用到的文件赋上777权限
Expand Down
Binary file modified ZJL2.0beta28/模块/clnc
Binary file not shown.
2 changes: 1 addition & 1 deletion ZJL2.0beta28/模块/规则.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ for ZJL in tiny clnc CProxy localproxy; do
[[ `pgrep ${ZJL}` ]] && core="${ZJL}" && break
done

[[ ${ZJL} ]] && echo " ${ZJL} 已开启 √\n" || echo " 什么都没开启 ×\n"
[[ ${core} ]] && echo " ${core} 已开启 √\n" || echo " 什么都没开启 ×\n"

[[ ! ${ZJL} ]] && echo 1 && echo 2

Expand Down

0 comments on commit 7900731

Please sign in to comment.