SIGN IN SIGN UP
tw93 / Mole UNCLAIMED

🐹 Deep clean and optimize your Mac.

0 0 83 Shell

fix(optimize): stop Dock Refresh from deleting wallpaper database

opt_dock_refresh ran `find "$HOME/Library/Application Support/Dock"
-name "*.db"` and unlinked every match. desktoppicture.db is macOS's
desktop wallpaper database; deleting it caused the wallpaper to reset
to the macOS default after the Dock restart.

No known .db under that directory is a Dock cache that must be cleared
to refresh: killall Dock plus touching com.apple.dock.plist already
handles the actual refresh. Drop the .db deletion branch entirely.

Closes #995.
T
Tw93 committed
d8220644b6efaee753a02b4320449d31d7909749
Parent: a236277