1
0
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:
Tw93
2025-11-24 15:24:06 +08:00
parent 1a123203eb
commit 7a379d3dcc
3 changed files with 5 additions and 2 deletions

View File

@@ -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++))
;;

View File

@@ -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

2
mole
View File

@@ -22,7 +22,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/lib/common.sh"
# Version info
VERSION="1.10.10"
VERSION="1.10.11"
MOLE_TAGLINE="can dig deep to clean your Mac."
# Check if Touch ID is already configured