daisydisk.rb `after_install`: full paths+list form
use safer list form of `system`. use full paths to external utilities.
This commit is contained in:
parent
f0658623c7
commit
1f7776fb25
|
@ -7,6 +7,6 @@ class Daisydisk < Cask
|
|||
|
||||
after_install do
|
||||
# Don't ask to move the app bundle to /Applications
|
||||
system 'defaults write com.daisydiskapp.DaisyDiskStandAlone moveToApplicationsFolderAlertSuppress -bool true'
|
||||
system '/usr/bin/defaults', 'write', 'com.daisydiskapp.DaisyDiskStandAlone', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue