2012-03-05 10:46:30 +08:00
|
|
|
class Alfred < Cask
|
2014-08-15 00:04:05 +08:00
|
|
|
version '2.4_279'
|
|
|
|
sha256 '5faaa5e7029adb6a884433c3c442440cee6398241bc8098f02186e5e1f010dea'
|
2014-06-27 08:00:56 +08:00
|
|
|
|
2014-09-26 20:08:46 +08:00
|
|
|
url "https://cachefly.alfredapp.com/Alfred_#{version}.zip"
|
2014-06-27 08:00:56 +08:00
|
|
|
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-02-17 12:25:00 +08:00
|
|
|
|
2014-09-09 20:55:26 +08:00
|
|
|
postflight do
|
2014-02-04 06:49:40 +08:00
|
|
|
# Don't ask to move the app bundle to /Applications
|
2014-03-01 22:44:31 +08:00
|
|
|
system '/usr/bin/defaults', 'write', 'com.runningwithcrayons.alfred-2', 'suppressMoveToApplications', '-bool', 'true'
|
2014-02-04 06:49:40 +08:00
|
|
|
end
|
2012-03-05 10:46:30 +08:00
|
|
|
end
|