homebrew-cask/Casks/zoom.rb

55 lines
2.0 KiB
Ruby

cask "zoom" do
version "5.4.59780.1220"
sha256 "0e04a9e719cdb595a07c8b95eb0a8d7b702dccca173fa7bee0ffb9500ffba28e"
url "https://d11yldzmag5yn.cloudfront.net/prod/#{version}/Zoom.pkg",
verified: "d11yldzmag5yn.cloudfront.net/"
name "Zoom.us"
desc "Video communication and virtual meeting platform"
homepage "https://www.zoom.us/"
livecheck do
url "https://zoom.us/client/latest/Zoom.pkg"
strategy :header_match
end
# Do not add `auto_updates`. While supporting an auto-update mechanism, this software is more inconvenient than most
# See https://github.com/Homebrew/homebrew-cask/pull/93083
conflicts_with cask: "zoom-for-it-admins"
pkg "Zoom.pkg"
uninstall signal: ["KILL", "us.zoom.xos"],
pkgutil: "us.zoom.pkg.videmeeting",
delete: [
"/Applications/zoom.us.app",
"/Library/Internet Plug-Ins/ZoomUsPlugIn.plugin",
"/Library/Logs/DiagnosticReports/zoom.us*",
]
zap trash: [
"~/.zoomus",
"~/Desktop/Zoom",
"~/Documents/Zoom",
"~/Library/Application Support/CloudDocs/session/containers/iCloud.us.zoom.videomeetings",
"~/Library/Application Support/CloudDocs/session/containers/iCloud.us.zoom.videomeetings.plist",
"~/Library/Application Support/CrashReporter/zoom.us*",
"~/Library/Application Support/zoom.us",
"~/Library/Caches/us.zoom.xos",
"~/Library/Cookies/us.zoom.xos.binarycookies",
"~/Library/Internet Plug-Ins/ZoomUsPlugIn.plugin",
"~/Library/Logs/zoom.us",
"~/Library/Logs/zoominstall.log",
"~/Library/Logs/ZoomPhone",
"~/Library/Mobile Documents/iCloud~us~zoom~videomeetings",
"~/Library/Preferences/ZoomChat.plist",
"~/Library/Preferences/us.zoom.airhost.plist",
"~/Library/Preferences/us.zoom.xos.Hotkey.plist",
"~/Library/Preferences/us.zoom.xos.plist",
"~/Library/Safari/PerSiteZoomPreferences.plist",
"~/Library/SafariTechnologyPreview/PerSiteZoomPreferences.plist",
"~/Library/Saved Application State/us.zoom.xos.savedState",
]
end