diff --git a/lib/clean/app_caches.sh b/lib/clean/app_caches.sh index 65c202d..b88e6ff 100644 --- a/lib/clean/app_caches.sh +++ b/lib/clean/app_caches.sh @@ -38,7 +38,7 @@ clean_code_editors() { safe_clean ~/Library/Application\ Support/Code/Cache/* "VS Code cache" safe_clean ~/Library/Application\ Support/Code/CachedExtensions/* "VS Code extension cache" safe_clean ~/Library/Application\ Support/Code/CachedData/* "VS Code data cache" - safe_clean ~/Library/Caches/JetBrains/* "JetBrains cache" + # safe_clean ~/Library/Caches/JetBrains/* "JetBrains cache" safe_clean ~/Library/Caches/com.sublimetext.*/* "Sublime Text cache" } diff --git a/lib/clean/dev.sh b/lib/clean/dev.sh index 4ce08c3..491b170 100644 --- a/lib/clean/dev.sh +++ b/lib/clean/dev.sh @@ -230,7 +230,7 @@ clean_dev_api_tools() { # Clean misc dev tools clean_dev_misc() { safe_clean ~/Library/Caches/com.unity3d.*/* "Unity cache" - safe_clean ~/Library/Caches/com.jetbrains.toolbox/* "JetBrains Toolbox cache" + # safe_clean ~/Library/Caches/com.jetbrains.toolbox/* "JetBrains Toolbox cache" safe_clean ~/Library/Caches/com.mongodb.compass/* "MongoDB Compass cache" safe_clean ~/Library/Caches/com.figma.Desktop/* "Figma cache" safe_clean ~/Library/Caches/com.github.GitHubDesktop/* "GitHub Desktop cache" diff --git a/lib/core/base.sh b/lib/core/base.sh index 895e926..6ec235d 100644 --- a/lib/core/base.sh +++ b/lib/core/base.sh @@ -80,6 +80,8 @@ declare -a DEFAULT_WHITELIST_PATTERNS=( "$HOME/Library/Caches/com.nssurge.surge-mac/*" "$HOME/Library/Application Support/com.nssurge.surge-mac/*" "$HOME/Library/Caches/org.R-project.R/R/renv/*" + "$HOME/Library/Caches/JetBrains*" + "$HOME/Library/Caches/com.jetbrains.toolbox*" "$FINDER_METADATA_SENTINEL" ) diff --git a/mole b/mole index 77d29fe..26a8bf6 100755 --- a/mole +++ b/mole @@ -22,7 +22,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" source "$SCRIPT_DIR/lib/core/common.sh" # Version info -VERSION="1.12.16" +VERSION="1.12.17" MOLE_TAGLINE="can dig deep to clean your Mac." # Check if Touch ID is already configured