3 sha256 "ec75e32da23e59a3dde1fcc97a57da87c76bbbb72d4ca36396b554318d2d02eb"
5 url "https://d1.music.126.net/dmusic/NeteaseMusic_#{version}_web.dmg",
6 verified: "d1.music.126.net/",
8 name "NetEase cloud music"
10 desc "Music streaming platform"
11 homepage "https://music.163.com/"
13 # The Sparkle feed uses non-English pubDates, which are not parsed correctly
14 # by the `:sparkle` strategy. As a workaround, the version is just extracted
15 # from the XML using a regex pattern on the download URLs.
17 url "https://music.163.com/api/osx/download/latest"
18 regex(/NeteaseMusic[._-]v?(\d+(?:[._]\d+)+)_web/i)
19 strategy :header_match
23 depends_on macos: ">= :sierra"
25 app "NeteaseMusic.app"
27 uninstall quit: "com.netease.163music"
30 "~/Library/Application Support/com.netease.163music",
31 "~/Library/Caches/com.netease.163music",
32 "~/Library/Containers/com.netease.163music",
33 "~/Library/Cookies/com.netease.163music.binarycookies",
34 "~/Library/Preferences/com.netease.163music.plist",
35 "~/Library/Saved Application State/com.netease.163music.savedState",