16 lines
509 B
Ruby
16 lines
509 B
Ruby
class Alfred < Cask
|
|
version '2.4_279'
|
|
sha256 '5faaa5e7029adb6a884433c3c442440cee6398241bc8098f02186e5e1f010dea'
|
|
|
|
url "https://cachefly.alfredapp.com/Alfred_#{version}.zip"
|
|
homepage 'http://www.alfredapp.com/'
|
|
|
|
app 'Alfred 2.app'
|
|
app 'Alfred 2.app/Contents/Preferences/Alfred Preferences.app'
|
|
|
|
postflight do
|
|
# Don't ask to move the app bundle to /Applications
|
|
system '/usr/bin/defaults', 'write', 'com.runningwithcrayons.alfred-2', 'suppressMoveToApplications', '-bool', 'true'
|
|
end
|
|
end
|