Merge pull request #198803 from Homebrew/bump-wizcli-0.69.0
[Homebrew/homebrew-cask.git] / Casks / s / spotify.rb
blob589fec841a20e5ff5d5fa3fe24fcc0bd18754caf
1 cask "spotify" do
2   arch arm: "ARM64"
4   version "1.2.55.235"
5   sha256 :no_check
7   url "https://download.scdn.co/Spotify#{arch}.dmg",
8       verified: "download.scdn.co/"
9   name "Spotify"
10   desc "Music streaming service"
11   homepage "https://www.spotify.com/"
13   livecheck do
14     url :url
15     strategy :extract_plist
16   end
18   auto_updates true
19   depends_on macos: ">= :big_sur"
21   app "Spotify.app"
23   uninstall launchctl: [
24               "*.spotify.client.*",
25               "com.spotify.client.startuphelper",
26               "com.spotify.webhelper",
27             ],
28             quit:      "com.spotify.client"
30   zap trash: [
31     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.spotify.client.startuphelper.sfl*",
32     "~/Library/Application Support/Spotify",
33     "~/Library/Caches/com.spotify.client",
34     "~/Library/Caches/com.spotify.client.helper",
35     "~/Library/Cookies/com.spotify.client.binarycookies",
36     "~/Library/HTTPStorages/com.spotify.client",
37     "~/Library/HTTPStorages/com.spotify.client.helper",
38     "~/Library/Logs/Spotify",
39     "~/Library/Preferences/com.spotify.client.helper.plist",
40     "~/Library/Preferences/com.spotify.client.plist",
41     "~/Library/Saved Application State/com.spotify.client.savedState",
42   ]
43 end