16 lines
437 B
Ruby
16 lines
437 B
Ruby
class Hipchat < Cask
|
|
version :latest
|
|
sha256 :no_check
|
|
|
|
url 'https://www.hipchat.com/downloads/latest/mac'
|
|
appcast 'https://www.hipchat.com/release_notes/appcast/mac'
|
|
homepage 'https://www.hipchat.com/'
|
|
|
|
app 'HipChat.app'
|
|
|
|
postflight do
|
|
# Don't ask to move the app bundle to /Applications
|
|
system '/usr/bin/defaults', 'write', 'com.hipchat.HipChat', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
|
|
end
|
|
end
|