This is part 27 in the series of “Beyond the good ol’ LaunchAgents”, where I try to collect various persistence techniques for macOS. For more background check the introduction. This persistence is another gem I found in Leo Pitt’s Modern macOS Persistence talk. macOS Dock stores shortcuts for applications, that we would like to access through the, well… Dock. It stores all settings in ~/Library/Preferences/com.apple.dock.plist. Although we can edit this PLIST directly, we can also ...