Use postflight DSL in github

This commit is contained in:
Federico Bond 2014-11-01 20:14:31 -03:00
parent d05b0cdaa0
commit 5b76a2c9db
1 changed files with 2 additions and 1 deletions

View File

@ -8,8 +8,9 @@ class Github < Cask
app 'GitHub.app'
binary 'GitHub.app/Contents/MacOS/github_cli', :target => 'github'
postflight do
system '/usr/bin/defaults', 'write', 'com.github.GitHub', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
suppress_move_to_applications
end
zap :delete => [