You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.9 KiB
45 lines
1.9 KiB
7 years ago
|
cask 'teamviewer-beta' do
|
||
|
version '13'
|
||
|
sha256 :no_check # required as upstream package is updated in-place
|
||
|
|
||
|
url "https://download.teamviewer.com/download/version_#{version}x/TeamViewer.dmg"
|
||
|
name 'TeamViewer'
|
||
|
homepage 'https://www.teamviewer.com/'
|
||
|
|
||
|
auto_updates true
|
||
|
conflicts_with cask: [
|
||
|
'teamviewer',
|
||
|
'teamviewer-host',
|
||
|
]
|
||
|
|
||
|
pkg 'Install TeamViewer.pkg'
|
||
|
|
||
|
uninstall pkgutil: 'com.teamviewer.*',
|
||
|
delete: [
|
||
|
'/Applications/TeamViewer.app',
|
||
|
"/Library/Fonts/TeamViewer#{version}.otf",
|
||
|
'/Library/PrivilegedHelperTools/com.teamviewer.Helper',
|
||
|
'/Library/Security/SecurityAgentPlugins/TeamViewerAuthPlugin.bundle',
|
||
|
],
|
||
|
launchctl: [
|
||
|
'com.teamviewer.Helper',
|
||
|
'com.teamviewer.desktop',
|
||
|
'com.teamviewer.service',
|
||
|
'com.teamviewer.teamviewer',
|
||
|
'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',
|
||
|
]
|
||
|
end
|