Use postflight DSL in github
This commit is contained in:
parent
d05b0cdaa0
commit
5b76a2c9db
|
@ -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 => [
|
||||
|
|
Loading…
Reference in New Issue