cask 'slack-beta' do version '2.5.2' sha256 'ad86ac7b1d576c2ee9e168f4ef74fa5829f3c4299748b1534bb8cf2ef4712c9c' # downloads.slack-edge.com was verified as official when first introduced to the cask url "https://downloads.slack-edge.com/mac_releases_beta/Slack-#{version}-macOS.zip" name 'Slack' homepage 'https://slack.com/beta/osx' auto_updates true app 'Slack.app' uninstall quit: 'com.tinyspeck.slackmacgap' zap delete: [ '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.tinyspeck.slackmacgap.sfl', '~/Library/Application Support/Slack', '~/Library/Caches/com.tinyspeck.slackmacgap', '~/Library/Containers/com.tinyspeck.slackmacgap', '~/Library/Containers/com.tinyspeck.slackmacgap.SlackCallsService', '~/Library/Cookies/com.tinyspeck.slackmacgap.binarycookies', '~/Library/Preferences/com.tinyspeck.slackmacgap.plist', '~/Library/Saved Application State/com.tinyspeck.slackmacgap.savedState', ] end