homebrew-cask/Casks/alfred.rb

16 lines
506 B
Ruby
Raw Normal View History

class Alfred < Cask
2014-08-15 00:04:05 +08:00
version '2.4_279'
sha256 '5faaa5e7029adb6a884433c3c442440cee6398241bc8098f02186e5e1f010dea'
url 'https://cachefly.alfredapp.com/Alfred_2.4_279.zip'
homepage 'http://www.alfredapp.com/'
2014-09-16 00:05:13 +08:00
app 'Alfred 2.app'
app 'Alfred 2.app/Contents/Preferences/Alfred Preferences.app'
2014-09-09 20:55:26 +08:00
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