homebrew-cask/Casks/dash.rb

21 lines
575 B
Ruby
Raw Normal View History

2013-10-20 15:19:08 +08:00
class Dash < Cask
2014-09-17 19:42:42 +08:00
version :latest
sha256 :no_check
2013-10-20 15:19:08 +08:00
url 'http://kapeli.com/Dash.zip'
2014-05-14 21:39:59 +08:00
appcast 'http://kapeli.com/Dash.xml'
2013-10-20 15:19:08 +08:00
homepage 'http://kapeli.com/dash'
2014-10-01 23:32:44 +08:00
license :unknown
2014-09-16 00:05:27 +08:00
app 'Dash.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.kapeli.dash', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
end
2014-09-18 19:57:55 +08:00
zap :delete => [
'~/Library/Application Support/Dash/library.dash',
'~/Library/Preferences/com.kapeli.dash.plist',
]
2013-10-20 15:19:08 +08:00
end