mirror of
https://github.com/tw93/Mole.git
synced 2026-02-15 18:05:05 +00:00
Enhance the protection of OpenVPN
This commit is contained in:
@@ -276,7 +276,7 @@ safe_clean() {
|
||||
|
||||
# Hard-coded protection for critical apps (cannot be disabled by user)
|
||||
case "$path" in
|
||||
*clash* | *Clash* | *surge* | *Surge* | *mihomo*)
|
||||
*clash* | *Clash* | *surge* | *Surge* | *mihomo* | *openvpn* | *OpenVPN*)
|
||||
skip=true
|
||||
((skipped_count++))
|
||||
;;
|
||||
|
||||
@@ -1378,6 +1378,9 @@ readonly DATA_PROTECTED_BUNDLES=(
|
||||
"*Clash*" # Capitalized variants
|
||||
"com.nssurge.surge-mac" # Surge
|
||||
"mihomo*" # Mihomo Party and variants
|
||||
"*openvpn*" # OpenVPN Connect and variants
|
||||
"*OpenVPN*" # OpenVPN capitalized variants
|
||||
"net.openvpn.*" # OpenVPN bundle IDs
|
||||
|
||||
# ============================================================================
|
||||
# Development Tools - Git & Version Control
|
||||
|
||||
Reference in New Issue
Block a user