Merge pull request #194004 from Homebrew/bump-binance-1.54.4
[Homebrew/homebrew-cask.git] / Casks / k / kkbox.rb
blob6e99034cb2bd91306615987fa85727af53e1e6d1
1 cask "kkbox" do
2   version "24.11.1"
3   sha256 "7ac243924ea7b2a81df0061ac8cda305673484f18c5618c062cf5f045ef548dd"
5   url "https://dl-universal-v2.kfs.io/KKBOX-#{version}.dmg",
6       verified: "dl-universal-v2.kfs.io/"
7   name "KKBOX"
8   desc "Music streaming service"
9   homepage "https://www.kkbox.com/"
11   livecheck do
12     url "https://play.kkbox.com/download/macos"
13     strategy :header_match
14   end
16   depends_on macos: ">= :catalina"
18   app "KKBOX.app"
20   uninstall quit: "com.kkbox.electron-app"
22   zap trash: [
23     "~/Library/Application Support/com.kkbox.KKBOX",
24     "~/Library/Application Support/KKBOX",
25     "~/Library/Caches/com.kkbox.electron-app",
26     "~/Library/Caches/com.kkbox.electron-app.ShipIt",
27     "~/Library/Caches/com.kkbox.KKBOX",
28     "~/Library/Caches/KKBOX",
29     "~/Library/HTTPStorages/com.kkbox.electron-app",
30     "~/Library/HTTPStorages/com.kkbox.KKBOX",
31     "~/Library/Preferences/com.kkbox.electron-app.plist",
32     "~/Library/Preferences/com.kkbox.KKBOX.plist",
33     "~/Library/Saved Application State/com.kkbox.electron-app.savedState",
34   ]
36   caveats do
37     requires_rosetta
38   end
39 end