2012-10-09 02:50:35 +08:00
|
|
|
class Github < Cask
|
2014-09-17 19:42:46 +08:00
|
|
|
version :latest
|
2014-05-08 20:51:31 +08:00
|
|
|
sha256 :no_check
|
2014-06-27 08:01:14 +08:00
|
|
|
|
|
|
|
url 'https://central.github.com/mac/latest'
|
|
|
|
homepage 'http://mac.github.com'
|
2014-10-01 23:32:57 +08:00
|
|
|
license :oss
|
2014-06-27 08:01:14 +08:00
|
|
|
|
2014-09-16 00:05:38 +08:00
|
|
|
app 'GitHub.app'
|
2014-04-16 01:18:53 +08:00
|
|
|
binary 'GitHub.app/Contents/MacOS/github_cli', :target => 'github'
|
2014-09-09 20:55:27 +08:00
|
|
|
postflight do
|
2014-03-01 22:35:51 +08:00
|
|
|
system '/usr/bin/defaults', 'write', 'com.github.GitHub', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
|
2014-02-27 00:36:24 +08:00
|
|
|
end
|
2012-10-09 02:50:35 +08:00
|
|
|
end
|