cask 'teamviewer' do version '15.4.4445' sha256 'd564ef42311701052a3351567e1c672521adc8ac0919f058f92ad34b1de02502' url 'https://download.teamviewer.com/download/TeamViewer.dmg' appcast 'https://download.teamviewer.com/download/update/macupdates.xml?id=0&lang=en&version=14.7.1965&os=macos&osversion=10.15.1&type=1&channel=1' name 'TeamViewer' homepage 'https://www.teamviewer.com/' auto_updates true conflicts_with cask: 'teamviewer-host' pkg 'Install TeamViewer.pkg' uninstall delete: [ "#{staged_path}/#{token}", # This Cask should be uninstalled manually. '/Applications/TeamViewer.app', ], pkgutil: 'com.teamviewer.teamviewer.*', launchctl: [ 'com.teamviewer.desktop', 'com.teamviewer.service', 'com.teamviewer.Helper', 'com.teamviewer.teamviewer', 'com.teamviewer.teamviewer_desktop', 'com.teamviewer.teamviewer_service', ], quit: 'com.teamviewer.TeamViewer' zap trash: [ '/Library/Preferences/com.teamviewer.teamviewer.preferences.plist', '~/Library/Application Support/TeamViewer', '~/Library/Caches/com.teamviewer.TeamViewer', '~/Library/Cookies/com.teamviewer.TeamViewer.binarycookies', '~/Library/Logs/TeamViewer', '~/Library/Preferences/com.teamviewer.TeamViewer.plist', '~/Library/Preferences/com.teamviewer.teamviewer.preferences.Machine.plist', '~/Library/Preferences/com.teamviewer.teamviewer.preferences.plist', '~/Library/Saved Application State/com.teamviewer.TeamViewer.savedState', ] caveats <<~EOS WARNING: #{token} has a bug in Catalina where it doesn't deal well with being uninstalled by other utilities. The recommended way to remove it is by running their uninstaller under: Preferences → Advanced EOS end