Merge pull request #198952 from Homebrew/bump-vienna-assistant-1.2.483
[Homebrew/homebrew-cask.git] / Casks / k / kkbox.rb
blobad2da20d2535ed52b76757d02ae17b2beedb3438
1 cask "kkbox" do
2   version "24.12.1"
3   sha256 "b14bc940f43a9255fabd3cfb243cc38e5c014c7b04f2aa3bfe1bc14f6cd6b030"
5   url "https://dl-universal-v2.kfs.io/KKBOX-#{version}-universal.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: ">= :big_sur"
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   ]
35 end