Use postflight DSL in github
This commit is contained in:
parent
d05b0cdaa0
commit
5b76a2c9db
|
@ -8,8 +8,9 @@ class Github < Cask
|
||||||
|
|
||||||
app 'GitHub.app'
|
app 'GitHub.app'
|
||||||
binary 'GitHub.app/Contents/MacOS/github_cli', :target => 'github'
|
binary 'GitHub.app/Contents/MacOS/github_cli', :target => 'github'
|
||||||
|
|
||||||
postflight do
|
postflight do
|
||||||
system '/usr/bin/defaults', 'write', 'com.github.GitHub', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
|
suppress_move_to_applications
|
||||||
end
|
end
|
||||||
|
|
||||||
zap :delete => [
|
zap :delete => [
|
||||||
|
|
Loading…
Reference in New Issue