46 lines
1.8 KiB
Ruby
46 lines
1.8 KiB
Ruby
cask "slack@beta" do
|
|
arch arm: "arm64", intel: "x64"
|
|
|
|
version "4.39.88"
|
|
sha256 arm: "57404addbec8821b3e13d897202a342926de509e27117ce4ab6f3f552311874a",
|
|
intel: "d240bfa3264fe9fa7004caa64bc9b7addca1c9f8251965a37cf843739b4045c0"
|
|
|
|
url "https://downloads.slack-edge.com/desktop-releases/mac/#{arch}/#{version}/Slack-#{version}-macOS.dmg",
|
|
verified: "downloads.slack-edge.com/desktop-releases/mac/"
|
|
name "Slack"
|
|
desc "Team communication and collaboration software"
|
|
homepage "https://slack.com/beta/osx"
|
|
|
|
livecheck do
|
|
url "https://slack.com/ssb/download-osx-beta"
|
|
strategy :header_match
|
|
end
|
|
|
|
auto_updates true
|
|
conflicts_with cask: "slack"
|
|
depends_on macos: ">= :big_sur"
|
|
|
|
app "Slack.app"
|
|
|
|
uninstall quit: "com.tinyspeck.slackmacgap"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Scripts/com.tinyspeck.slackmacgap",
|
|
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.tinyspeck.slackmacgap.sfl*",
|
|
"~/Library/Application Support/Slack",
|
|
"~/Library/Caches/com.tinyspeck.slackmacgap",
|
|
"~/Library/Caches/com.tinyspeck.slackmacgap.ShipIt",
|
|
"~/Library/Containers/com.tinyspeck.slackmacgap",
|
|
"~/Library/Containers/com.tinyspeck.slackmacgap.SlackCallsService",
|
|
"~/Library/Cookies/com.tinyspeck.slackmacgap.binarycookies",
|
|
"~/Library/Group Containers/*.com.tinyspeck.slackmacgap",
|
|
"~/Library/Group Containers/*.slack",
|
|
"~/Library/Logs/Slack",
|
|
"~/Library/Preferences/ByHost/com.tinyspeck.slackmacgap.ShipIt.*.plist",
|
|
"~/Library/Preferences/com.tinyspeck.slackmacgap.helper.plist",
|
|
"~/Library/Preferences/com.tinyspeck.slackmacgap.plist",
|
|
"~/Library/Saved Application State/com.tinyspeck.slackmacgap.savedState",
|
|
"~/Library/WebKit/com.tinyspeck.slackmacgap",
|
|
]
|
|
end
|