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' app 'Parallels Desktop.app'
postflight do postflight do
# Set the file to visible, since it was hidden in the dmg # Unhide the application
system '/usr/bin/SetFile', '-a', 'v', "#{appdir}/Parallels Desktop.app" system_command '/usr/bin/chflags',
args: ['nohidden', "#{appdir}/Parallels Desktop.app"],
sudo: true
end end
uninstall delete: [ uninstall delete: [

Loading…
Cancel
Save