1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-11 11:49:22 +00:00

Spotlight cache cleaning moved to the optimize command

This commit is contained in:
Tw93
2025-12-10 10:02:49 +08:00
parent 4ff8c3afa3
commit 198591289f
5 changed files with 54 additions and 4 deletions

View File

@@ -80,8 +80,7 @@ clean_macos_system_caches() {
safe_clean ~/Library/Saved\ Application\ State/* "Saved application states"
safe_clean ~/Library/Caches/com.apple.spotlight "Spotlight cache"
# Clean Spotlight user caches (CoreSpotlight can grow very large)
clean_spotlight_caches
# MOVED: Spotlight cache cleanup moved to optimize command
safe_clean ~/Library/Caches/com.apple.photoanalysisd "Photo analysis cache"
safe_clean ~/Library/Caches/com.apple.akd "Apple ID cache"