Skip to content

Commit

Permalink
Update teamviewer, teamviewer-host: uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
commitay committed Apr 9, 2018
1 parent 30b7baf commit 55ae7b0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
13 changes: 11 additions & 2 deletions Casks/teamviewer-host.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,21 @@

pkg 'Install TeamViewerHost.pkg'

uninstall pkgutil: 'com.teamviewer.*',
# This pkg and file should not be added to uninstall or zap
# https://github.com/caskroom/homebrew-cask/pull/45718
# `pkg` com.teamviewer.teamviewer13AuthPlugin
# /Library/Security/SecurityAgentPlugins/TeamViewerAuthPlugin.bundle
uninstall pkgutil: [
"com.teamviewer.teamviewer#{version}Restarter",
"com.teamviewer.teamviewer#{version}Agent",
"com.teamviewer.teamviewer#{version}Font",
"com.teamviewer.teamviewer#{version}",
"com.teamviewer.teamviewer#{version}PriviledgedHelper",
],
delete: [
'/Applications/TeamViewerHost.app',
"/Library/Fonts/TeamViewer#{version}Host.otf",
'/Library/PrivilegedHelperTools/com.teamviewer.Helper',
'/Library/Security/SecurityAgentPlugins/TeamViewerAuthPlugin.bundle',
],
launchctl: [
'com.teamviewer.Helper',
Expand Down
13 changes: 11 additions & 2 deletions Casks/teamviewer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,21 @@

pkg 'Install TeamViewer.pkg'

uninstall pkgutil: 'com.teamviewer.*',
# This pkg and file should not be added to uninstall or zap
# https://github.com/caskroom/homebrew-cask/pull/45718
# `pkg` com.teamviewer.teamviewer13AuthPlugin
# /Library/Security/SecurityAgentPlugins/TeamViewerAuthPlugin.bundle
uninstall pkgutil: [
"com.teamviewer.teamviewer#{version}Restarter",
"com.teamviewer.teamviewer#{version}Agent",
"com.teamviewer.teamviewer#{version}Font",
"com.teamviewer.teamviewer#{version}",
"com.teamviewer.teamviewer#{version}PriviledgedHelper",
],
delete: [
'/Applications/TeamViewer.app',
"/Library/Fonts/TeamViewer#{version}.otf",
'/Library/PrivilegedHelperTools/com.teamviewer.Helper',
'/Library/Security/SecurityAgentPlugins/TeamViewerAuthPlugin.bundle',
],
launchctl: [
'com.teamviewer.Helper',
Expand Down

0 comments on commit 55ae7b0

Please sign in to comment.