cask "slack@beta" do arch arm: "arm64", intel: "x64" version "4.41.98" sha256 arm: "eaf531de942ffe7e662dab8774f46bf507035b944b2f7237ea9ac3e4d76f9c5a", intel: "5dc2a14910053e00be46a18abc8e5bf54935aceb4c919f4dedc0f18e13dfe634" 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