mirror of
https://github.com/tw93/Mole.git
synced 2026-02-16 19:20:16 +00:00
optimize command will no longer delete the Finder cache
This commit is contained in:
@@ -253,6 +253,10 @@ opt_saved_state_cleanup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Finder and Dock: refresh interface caches
|
# Finder and Dock: refresh interface caches
|
||||||
|
# REMOVED: Deleting Finder cache causes user configuration loss
|
||||||
|
# Including window positions, sidebar settings, view preferences, icon sizes
|
||||||
|
# Users reported losing Finder settings even with .DS_Store whitelist protection
|
||||||
|
# Keep this function for reference but do not use in default optimizations
|
||||||
opt_finder_dock_refresh() {
|
opt_finder_dock_refresh() {
|
||||||
echo -e "${BLUE}${ICON_ARROW}${NC} Resetting Finder & Dock caches..."
|
echo -e "${BLUE}${ICON_ARROW}${NC} Resetting Finder & Dock caches..."
|
||||||
local -a interface_targets=(
|
local -a interface_targets=(
|
||||||
|
|||||||
@@ -231,7 +231,6 @@ EOF
|
|||||||
items+=('radio_refresh|Bluetooth & Wi-Fi Refresh|Reset wireless preference caches|true')
|
items+=('radio_refresh|Bluetooth & Wi-Fi Refresh|Reset wireless preference caches|true')
|
||||||
items+=('recent_items|Recent Items|Clear recent apps/documents/servers lists|true')
|
items+=('recent_items|Recent Items|Clear recent apps/documents/servers lists|true')
|
||||||
items+=('log_cleanup|Diagnostics Cleanup|Purge old diagnostic & crash logs|true')
|
items+=('log_cleanup|Diagnostics Cleanup|Purge old diagnostic & crash logs|true')
|
||||||
items+=('finder_dock_refresh|Finder & Dock Refresh|Clear Finder/Dock caches and restart|true')
|
|
||||||
items+=('startup_cache|Startup Cache Rebuild|Rebuild kext caches & prelinked kernel|true')
|
items+=('startup_cache|Startup Cache Rebuild|Rebuild kext caches & prelinked kernel|true')
|
||||||
|
|
||||||
# Conditional items
|
# Conditional items
|
||||||
|
|||||||
Reference in New Issue
Block a user