Browse Source

Update parallels-desktop10.rb (#3174)

Update parallels-desktop10 to use `system_command`.
master
Miccal Matthews 8 years ago
committed by GitHub
parent
commit
e1fb0f14b0
  1. 6
      Casks/parallels-desktop10.rb

6
Casks/parallels-desktop10.rb

@ -9,8 +9,10 @@ cask 'parallels-desktop10' do
app 'Parallels Desktop.app'
postflight do
# Set the file to visible, since it was hidden in the dmg
system '/usr/bin/SetFile', '-a', 'v', "#{appdir}/Parallels Desktop.app"
# Unhide the application
system_command '/usr/bin/chflags',
args: ['nohidden', "#{appdir}/Parallels Desktop.app"],
sudo: true
end
uninstall delete: [

Loading…
Cancel
Save