Skip to content

Commit

Permalink
Update teamviewer, teamviewer-host: remove uninstall (#45718)
Browse files Browse the repository at this point in the history
  • Loading branch information
commitay authored Apr 9, 2018
1 parent 8147bc2 commit 81fd124
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
16 changes: 1 addition & 15 deletions Casks/teamviewer-host.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
16 changes: 1 addition & 15 deletions Casks/teamviewer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 81fd124

Please sign in to comment.