mirror of
https://github.com/tw93/Mole.git
synced 2026-02-16 12:21:11 +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)
|
# Hard-coded protection for critical apps (cannot be disabled by user)
|
||||||
case "$path" in
|
case "$path" in
|
||||||
*clash* | *Clash* | *surge* | *Surge* | *mihomo*)
|
*clash* | *Clash* | *surge* | *Surge* | *mihomo* | *openvpn* | *OpenVPN*)
|
||||||
skip=true
|
skip=true
|
||||||
((skipped_count++))
|
((skipped_count++))
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -1378,6 +1378,9 @@ readonly DATA_PROTECTED_BUNDLES=(
|
|||||||
"*Clash*" # Capitalized variants
|
"*Clash*" # Capitalized variants
|
||||||
"com.nssurge.surge-mac" # Surge
|
"com.nssurge.surge-mac" # Surge
|
||||||
"mihomo*" # Mihomo Party and variants
|
"mihomo*" # Mihomo Party and variants
|
||||||
|
"*openvpn*" # OpenVPN Connect and variants
|
||||||
|
"*OpenVPN*" # OpenVPN capitalized variants
|
||||||
|
"net.openvpn.*" # OpenVPN bundle IDs
|
||||||
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
# Development Tools - Git & Version Control
|
# Development Tools - Git & Version Control
|
||||||
|
|||||||
2
mole
2
mole
@@ -22,7 +22,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|||||||
source "$SCRIPT_DIR/lib/common.sh"
|
source "$SCRIPT_DIR/lib/common.sh"
|
||||||
|
|
||||||
# Version info
|
# Version info
|
||||||
VERSION="1.10.10"
|
VERSION="1.10.11"
|
||||||
MOLE_TAGLINE="can dig deep to clean your Mac."
|
MOLE_TAGLINE="can dig deep to clean your Mac."
|
||||||
|
|
||||||
# Check if Touch ID is already configured
|
# Check if Touch ID is already configured
|
||||||
|
|||||||
Reference in New Issue
Block a user