mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-06-30 06:12:15 -06:00
Symlinks the 'github' CLI binary that enables opening GitHub for Mac from the command line. As per the defaults for the application, the internal `github_cli` binary is symlinked simply as `github`. Note this intetionally does *not* also symlink the bundled versions. of `git` itself, as anyone using brewcask is going to want to be able to manage those normally via homebrew.`
11 lines
371 B
Ruby
11 lines
371 B
Ruby
class Github < Cask
|
|
url 'https://central.github.com/mac/latest'
|
|
homepage 'http://mac.github.com'
|
|
version 'latest'
|
|
no_checksum
|
|
link 'GitHub.app'
|
|
binary 'GitHub.app/Contents/MacOS/github_cli', :target => 'github'
|
|
after_install do
|
|
system '/usr/bin/defaults', 'write', 'com.github.GitHub', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
|
|
end
|
|
end
|