13 lines
442 B
Ruby
13 lines
442 B
Ruby
class Atom < Cask
|
|
url 'https://atom.io/download/mac'
|
|
homepage 'http://atom.io'
|
|
version 'latest'
|
|
sha256 :no_check
|
|
link 'Atom.app'
|
|
binary 'Atom.app/Contents/Resources/app/apm/node_modules/.bin/apm', :target => 'apm'
|
|
binary 'Atom.app/Contents/Resources/app/atom.sh', :target => 'atom'
|
|
after_install do
|
|
system '/usr/bin/defaults', 'write', 'com.github.atom', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
|
|
end
|
|
end
|