1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 20:19:45 +00:00

Add Maven to the default whitelist

This commit is contained in:
Tw93
2025-10-11 22:55:18 +08:00
parent 3bae4b386f
commit d000fbea48

View File

@@ -16,6 +16,7 @@ WHITELIST_CONFIG="$HOME/.config/mole/whitelist"
declare -a DEFAULT_WHITELIST_PATTERNS=(
"$HOME/Library/Caches/ms-playwright*"
"$HOME/.cache/huggingface*"
"$HOME/.m2/repository/*"
)
# Save whitelist patterns to config
@@ -26,7 +27,7 @@ save_whitelist_patterns() {
cat > "$WHITELIST_CONFIG" << 'EOF'
# Mole Whitelist - Protected paths won't be deleted
# Default protections: Playwright browsers, HuggingFace models (can be disabled)
# Default protections: Playwright browsers, HuggingFace models, Maven local repo (can be disabled)
# Add one pattern per line to keep items safe.
EOF