cask 'alfred' do version '4.0.6_1124' sha256 'e7760dc1567ddc443aed6cd77577bf746425275c2e28dd056255bf940d1c716e' url "https://cachefly.alfredapp.com/Alfred_#{version}.dmg" appcast "https://www.alfredapp.com/app/update#{version.major}/general.xml" name 'Alfred' homepage 'https://www.alfredapp.com/' auto_updates true app "Alfred #{version.major}.app" uninstall quit: 'com.runningwithcrayons.Alfred' zap trash: [ '~/Library/Application Support/Alfred', '~/Library/Caches/com.runningwithcrayons.Alfred', '~/Library/Preferences/com.runningwithcrayons.Alfred.plist', '~/Library/Preferences/com.runningwithcrayons.Alfred-Preferences.plist', '~/Library/Saved Application State/com.runningwithcrayons.Alfred-Preferences.savedState', ] end