homebrew-cask/Casks/s/skype.rb

46 lines
1.9 KiB
Ruby

cask "skype" do
version "8.120.0.207"
sha256 "618a5bcf2daabba1be00aaeebb36ad8e5cfc1480810c28ae6bcac839090f261b"
url "https://endpoint920510.azureedge.net/s4l/s4l/download/mac/Skype-#{version}.dmg",
verified: "endpoint920510.azureedge.net/s4l/s4l/download/mac/"
name "Skype"
desc "Video chat, voice call and instant messaging application"
homepage "https://www.skype.com/"
livecheck do
url "https://get.skype.com/go/getskype-skypeformac"
strategy :header_match
end
auto_updates true
depends_on macos: ">= :high_sierra"
app "Skype.app"
zap trash: [
"~/Library/Address Book Plug-Ins/SkypeABCaller.bundle",
"~/Library/Address Book Plug-Ins/SkypeABChatter.bundle",
"~/Library/Address Book Plug-Ins/SkypeABDialer.bundle",
"~/Library/Address Book Plug-Ins/SkypeABSMS.bundle",
"~/Library/Application Scripts/com.skype.skype.shareagent",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.skype.skype.sfl*",
"~/Library/Application Support/CrashReporter/Skype_*.plist",
"~/Library/Application Support/Microsoft/Skype for Desktop",
"~/Library/Application Support/Skype Helper",
"~/Library/Application Support/Skype",
"~/Library/Application Support/T/SkypeRT",
"~/Library/Caches/com.plausiblelabs.crashreporter.data/com.skype.skype",
"~/Library/Caches/com.skype.skype",
"~/Library/Caches/com.skype.skype.ShipIt",
"~/Library/Containers/com.skype.skype.shareagent",
"~/Library/Cookies/com.skype.skype.binarycookies",
"~/Library/Group Containers/*.com.skype.skype",
"~/Library/Preferences/ByHost/com.skype.skype.*.plist",
"~/Library/Preferences/com.skype.skype.plist",
"~/Library/Preferences/com.skype.skypewifi.plist",
"~/Library/Saved Application State/com.skype.skype.savedState",
"~/Library/WebKit/com.skype.skype",
]
end