2014-05-09 06:17:15 +08:00
|
|
|
class Hockeyapp < Cask
|
2014-06-27 08:01:17 +08:00
|
|
|
version 'latest'
|
|
|
|
sha256 :no_check
|
2014-07-01 02:28:06 +08:00
|
|
|
|
2014-03-13 10:49:08 +08:00
|
|
|
url 'https://rink.hockeyapp.net/api/2/apps/67503a7926431872c4b6c1549f5bd6b1?format=zip'
|
2014-06-04 19:51:01 +08:00
|
|
|
appcast 'https://rink.hockeyapp.net/api/2/apps/67503a7926431872c4b6c1549f5bd6b1'
|
2014-03-13 10:49:08 +08:00
|
|
|
homepage 'http://hockeyapp.net/releases/mac/'
|
2014-06-27 08:01:17 +08:00
|
|
|
|
2014-03-13 10:49:08 +08:00
|
|
|
link 'HockeyApp.app'
|
2014-05-29 06:14:47 +08:00
|
|
|
binary 'HockeyApp.app/Contents/Resources/puck'
|
2014-03-13 10:49:08 +08:00
|
|
|
|
|
|
|
after_install do
|
|
|
|
# Don't ask to move the app bundle to /Applications
|
|
|
|
system '/usr/bin/defaults', 'write', 'com.hockeyapp.mac', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
|
|
|
|
end
|
|
|
|
end
|