cask :v1 => 'parallels9' do version '9.0.24251.1052177' sha256 'd6efe77b6893bfd24ea4d275f1bc417feffb2a899a364ecbb91a25064b9e1c0d' url "http://download.parallels.com/desktop/v9/update3/ParallelsDesktop-#{version}.dmg" homepage 'http://www.parallels.com/products/desktop/' license :commercial app 'Parallels Desktop.app' postflight do # Set the file to visible, since it was hidden in the dmg system '/usr/bin/SetFile', '-a', 'v', staged_path.join('Parallels Desktop.app') end uninstall :delete => [ '/usr/bin/prl_convert', '/usr/bin/prl_disk_tool', '/usr/bin/prl_perf_ctl', '/usr/bin/prlctl', '/usr/bin/prlsrvctl', ] zap :delete => [ '~/.parallels_settings', '~/Library/Caches/com.parallels.desktop.console', '~/Library/Preferences/com.parallels.desktop.console.LSSharedFileList.plist', '~/Library/Preferences/com.parallels.desktop.console.plist', '~/Library/Preferences/com.parallels.Parallels Desktop Statistics.plist', '~/Library/Preferences/com.parallels.Parallels Desktop.plist', '~/Library/Preferences/com.parallels.Parallels.plist', ] end