excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / spotify.rb
blob27c01d9ca53a34a797b2b30296c46ab43284701d
1 cask "spotify" do
2   arch arm: "ARM64"
4   version "1.2.51.345"
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/Spotify",
32     "~/Library/Caches/com.spotify.client",
33     "~/Library/Caches/com.spotify.client.helper",
34     "~/Library/Cookies/com.spotify.client.binarycookies",
35     "~/Library/HTTPStorages/com.spotify.client",
36     "~/Library/Logs/Spotify",
37     "~/Library/Preferences/com.spotify.client.helper.plist",
38     "~/Library/Preferences/com.spotify.client.plist",
39     "~/Library/Saved Application State/com.spotify.client.savedState",
40   ]
41 end