diff --git a/Casks/vmware-fusion-6.rb b/Casks/vmware-fusion-6.rb new file mode 100644 index 000000000..73a286a4c --- /dev/null +++ b/Casks/vmware-fusion-6.rb @@ -0,0 +1,14 @@ +class VmwareFusion6 < Cask + version '6.0.4-1887983' + sha256 'fe392850cd3578b101b3601f19704485fbb66ce1c5fa1367e464a0cf91e41a68' + + url 'https://download3.vmware.com/software/fusion/file/VMware-Fusion-6.0.4-1887983-light.dmg' + homepage 'http://www.vmware.com/products/fusion/' + + binary 'VMware Fusion.app/Contents/Library/vmrun' + app 'VMware Fusion.app' + uninstall_preflight do + system '/usr/bin/sudo', '-E', '--', + '/usr/sbin/chown', '-R', '--', "#{Etc.getpwuid(Process.euid).name}:staff", "#{destination_path}/VMware Fusion.app" + end +end