cask 'atom-beta' do version '1.22.0-beta2' sha256 '9873c7bab96e9eabdfb8a6b5c90aed5691d156ac664748abd8ea119bcba71b0b' # github.com/atom/atom was verified as official when first introduced to the cask url "https://github.com/atom/atom/releases/download/v#{version}/atom-mac.zip" appcast 'https://github.com/atom/atom/releases.atom', checkpoint: 'e61deb63c36f6a191a071f77993c18e3236502f872d0bdcaee4a3a80833b5947' name 'Github Atom Beta' homepage 'https://atom.io/beta' auto_updates true depends_on macos: '>= :mountain_lion' app 'Atom Beta.app' binary "#{appdir}/Atom Beta.app/Contents/Resources/app/apm/node_modules/.bin/apm", target: 'apm-beta' binary "#{appdir}/Atom Beta.app/Contents/Resources/app/atom.sh", target: 'atom-beta' zap delete: [ '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.github.atom.sfl', '~/Library/Application Support/ShipIt_stderr.log', '~/Library/Application Support/ShipIt_stdout.log', '~/Library/Caches/com.github.atom', '~/Library/Caches/com.github.atom.ShipIt', '~/Library/Saved Application State/com.github.atom.savedState', ], trash: [ '~/.atom', '~/Library/Application Support/Atom', '~/Library/Application Support/com.github.atom.ShipIt', '~/Library/Preferences/com.github.atom.helper.plist', '~/Library/Preferences/com.github.atom.plist', ] end