You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

32 lines
1.5 KiB

cask 'atom-beta' do
version '1.20.0-beta2'
sha256 'f2915c5766163ffcbec6dea62f8f7343ddb41b0eaf74ad4b504ea3add536b60d'
# 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: '8da69886c157cbac8dbf78d25af174cc97bedcee0470aad8ceb963b6d52573b3'
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: [
'~/.atom',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.github.atom.sfl',
'~/Library/Application Support/ShipIt_stderr.log',
'~/Library/Application Support/Atom',
'~/Library/Application Support/ShipIt_stdout.log',
'~/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