Skip to content

Commit

Permalink
Update teamviewer.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
miccal authored Jan 30, 2022
1 parent d9bb482 commit 5e59759
Showing 1 changed file with 22 additions and 18 deletions.
40 changes: 22 additions & 18 deletions Casks/teamviewer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,28 @@
pkg "Install TeamViewer.app/Contents/Resources/Install TeamViewer.pkg"
end

uninstall delete: [
"#{staged_path}/#{token}", # This Cask should be uninstalled manually.
"/Applications/TeamViewer.app",
"/Library/Preferences/com.teamviewer.teamviewer.preferences.plist",
],
pkgutil: [
"com.teamviewer.remoteaudiodriver",
"com.teamviewer.teamviewer.*",
],
launchctl: [
"com.teamviewer.desktop",
"com.teamviewer.Helper",
"com.teamviewer.service",
"com.teamviewer.teamviewer_desktop",
"com.teamviewer.teamviewer_service",
"com.teamviewer.teamviewer",
],
quit: "com.teamviewer.TeamViewer"
if MacOS.version == :catalina
uninstall delete: "#{staged_path}/#{token}" # This Cask should be uninstalled manually.
else
uninstall delete: [
"#{staged_path}/#{token}", # This Cask should be uninstalled manually.
"/Applications/TeamViewer.app",
"/Library/Preferences/com.teamviewer.teamviewer.preferences.plist",
],
pkgutil: [
"com.teamviewer.remoteaudiodriver",
"com.teamviewer.teamviewer.*",
],
launchctl: [
"com.teamviewer.desktop",
"com.teamviewer.Helper",
"com.teamviewer.service",
"com.teamviewer.teamviewer_desktop",
"com.teamviewer.teamviewer_service",
"com.teamviewer.teamviewer",
],
quit: "com.teamviewer.TeamViewer"
end

zap trash: [
"~/Library/Application Support/TeamViewer",
Expand Down

0 comments on commit 5e59759

Please sign in to comment.