-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
/
Copy pathspotify.rb
41 lines (34 loc) · 1.07 KB
/
spotify.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
cask "spotify" do
arch arm: "ARM64"
version "1.2.45.454"
sha256 :no_check
url "https://download.scdn.co/Spotify#{arch}.dmg",
verified: "download.scdn.co/"
name "Spotify"
desc "Music streaming service"
homepage "https://www.spotify.com/"
livecheck do
url :url
strategy :extract_plist
end
auto_updates true
depends_on macos: ">= :big_sur"
app "Spotify.app"
uninstall launchctl: [
"*.spotify.client.*",
"com.spotify.client.startuphelper",
"com.spotify.webhelper",
],
quit: "com.spotify.client"
zap trash: [
"~/Library/Application Support/Spotify",
"~/Library/Caches/com.spotify.client",
"~/Library/Caches/com.spotify.client.helper",
"~/Library/Cookies/com.spotify.client.binarycookies",
"~/Library/HTTPStorages/com.spotify.client",
"~/Library/Logs/Spotify",
"~/Library/Preferences/com.spotify.client.helper.plist",
"~/Library/Preferences/com.spotify.client.plist",
"~/Library/Saved Application State/com.spotify.client.savedState",
]
end