Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update teamviewer from 15.26.4 to 15.26.5 #118326

Merged
merged 3 commits into from
Feb 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 28 additions & 19 deletions Casks/teamviewer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
strategy :sparkle
end
else
version "15.26.4"
version "15.26.5"

livecheck do
url "https://download.teamviewer.com/download/update/macupdates.xml?id=0&lang=en&version=#{version}&os=macos&osversion=10.15.1&type=1&channel=1"
Expand All @@ -27,28 +27,37 @@

if MacOS.version <= :high_sierra
pkg "Install TeamViewer.pkg"
elsif MacOS.version == :catalina
# This Cask should be installed and uninstalled manually on Catalina.
# See https://github.com/Homebrew/homebrew-cask/issues/76829
installer manual: "Install TeamViewer.app/Contents/Resources/Install TeamViewer.pkg"
Comment on lines +30 to +33
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better! Thanks, @miccal

else
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
# This Cask should be installed and uninstalled manually on Catalina.
# See https://github.com/Homebrew/homebrew-cask/issues/76829
uninstall delete: "#{staged_path}/#{token}"
else
uninstall delete: [
"/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