2012-10-14 15:11:19 +08:00
|
|
|
class Bartender < Cask
|
2014-09-17 19:42:39 +08:00
|
|
|
version :latest
|
2014-06-27 08:00:59 +08:00
|
|
|
sha256 :no_check
|
2014-07-01 02:28:06 +08:00
|
|
|
|
2012-10-14 15:11:19 +08:00
|
|
|
url 'http://www.macbartender.com/Demo/Bartender.zip'
|
2014-05-14 21:39:58 +08:00
|
|
|
appcast 'http://www.macbartender.com/updates/updates.php'
|
2012-10-14 15:11:19 +08:00
|
|
|
homepage 'http://www.macbartender.com/'
|
2014-06-27 08:00:59 +08:00
|
|
|
|
2014-09-16 00:05:17 +08:00
|
|
|
app 'Bartender.app'
|
2013-12-07 10:22:43 +08:00
|
|
|
|
2014-09-09 20:55:26 +08:00
|
|
|
postflight do
|
2013-12-07 10:22:43 +08:00
|
|
|
# Don't ask to move the app bundle to /Applications
|
2014-03-01 22:45:07 +08:00
|
|
|
system '/usr/bin/defaults', 'write', 'com.surteesstudios.Bartender', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
|
2013-12-07 10:22:43 +08:00
|
|
|
end
|
2014-09-18 19:57:54 +08:00
|
|
|
zap :delete => '~/Library/Preferences/com.surteesstudios.Bartender.plist'
|
2012-10-14 15:11:19 +08:00
|
|
|
end
|