From 81fd1242bc3e955128430ae0ab2d6a5ed75acb47 Mon Sep 17 00:00:00 2001 From: commitay Date: Mon, 9 Apr 2018 22:33:07 +1000 Subject: [PATCH] Update teamviewer, teamviewer-host: remove uninstall (#45718) --- Casks/teamviewer-host.rb | 16 +--------------- Casks/teamviewer.rb | 16 +--------------- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/Casks/teamviewer-host.rb b/Casks/teamviewer-host.rb index 79fe58b8ad03e..656846026cc62 100644 --- a/Casks/teamviewer-host.rb +++ b/Casks/teamviewer-host.rb @@ -11,21 +11,7 @@ pkg 'Install TeamViewerHost.pkg' - uninstall pkgutil: 'com.teamviewer.*', - delete: [ - '/Applications/TeamViewerHost.app', - "/Library/Fonts/TeamViewer#{version}Host.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.TeamViewerHost' + uninstall delete: "#{staged_path}/#{token}" # This Cask should be uninstalled manually. zap trash: [ '/Library/Preferences/com.teamviewer.teamviewer.preferences.plist', diff --git a/Casks/teamviewer.rb b/Casks/teamviewer.rb index b8112067a566f..3fab714cc5da8 100644 --- a/Casks/teamviewer.rb +++ b/Casks/teamviewer.rb @@ -11,21 +11,7 @@ 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' + uninstall delete: "#{staged_path}/#{token}" # This Cask should be uninstalled manually. zap trash: [ '/Library/Preferences/com.teamviewer.teamviewer.preferences.plist',