1
0
mirror of https://github.com/tw93/Mole.git synced 2026-03-22 19:40:07 +00:00

fix(appli-support):using whitelist in application_support clean (#562)

* fix(appli-support):using whitelist in application_support clean

* fix: harden clash verge app support protection

---------

Co-authored-by: Tw93 <hitw93@gmail.com>
This commit is contained in:
2026-03-13 11:38:37 +08:00
committed by GitHub
parent e642817b1f
commit c5d923cd48
4 changed files with 48 additions and 2 deletions

View File

@@ -290,6 +290,8 @@ readonly DATA_PROTECTED_BUNDLES=(
"clash.*"
"Clash.*"
"clash_*"
"*clash-verge*"
"*Clash-Verge*"
"clashverge*"
"ClashVerge*"
"com.nssurge.surge-mac"
@@ -694,7 +696,7 @@ should_protect_data() {
com.nssurge.* | com.v2ray.* | com.clash.* | ClashX* | Surge* | Shadowrocket* | Quantumult*)
return 0
;;
clash-* | Clash-* | *-clash | *-Clash | clash.* | Clash.* | clash_* | clashverge* | ClashVerge*)
clash-* | Clash-* | *-clash | *-Clash | clash.* | Clash.* | clash_* | *clash-verge* | *Clash-Verge* | clashverge* | ClashVerge*)
return 0
;;
com.docker.* | com.getpostman.* | com.insomnia.*)