homebrew-cask-versions/Casks/atom-beta.rb
2018-11-29 18:46:57 +02:00

31 lines
1.4 KiB
Ruby

cask 'atom-beta' do
version '1.34.0-beta0'
sha256 '9ba09832b8124eb392f0db7e1dd480090353be60a310e9fc44e8e548d450c142'
# 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'
name 'Github Atom Beta'
homepage 'https://atom.io/beta'
auto_updates true
depends_on macos: '>= :mavericks'
app 'Atom Beta.app'
binary "#{appdir}/Atom Beta.app/Contents/Resources/app/apm/bin/apm", target: 'apm-beta'
binary "#{appdir}/Atom Beta.app/Contents/Resources/app/atom.sh", target: 'atom-beta'
zap trash: [
'~/.atom',
'~/Library/Application Support/Atom',
'~/Library/Application Support/ShipIt_stderr.log',
'~/Library/Application Support/ShipIt_stdout.log',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.github.atom.sfl*',
'~/Library/Application Support/com.github.atom.ShipIt',
'~/Library/Caches/com.github.atom',
'~/Library/Caches/com.github.atom.ShipIt',
'~/Library/Preferences/com.github.atom.helper.plist',
'~/Library/Preferences/com.github.atom.plist',
'~/Library/Saved Application State/com.github.atom.savedState',
]
end