Merge pull request #200288 from kyu08/cursor-link
[Homebrew/homebrew-cask.git] / Casks / m / millie.rb
blobd78b45e13cee5cac39bb778d60953edb71403a74
1 cask "millie" do
2   version "2.1.2"
3   sha256 "1ec0830ae6daeafd0eefe335f8b005feacfb9b3af2b14ddddd6e33db13917123"
5   url "https://install.millie.co.kr/flutter/#{version}/millie.dmg"
6   name "Millie"
7   desc "Korean e-book store"
8   homepage "https://www.millie.co.kr/"
10   livecheck do
11     url "https://install.millie.co.kr/flutter/flutter_desktop_version.json"
12     strategy :json do |json|
13       json["versions"]&.map do |version, platforms|
14         next if platforms["macos"] != "prod"
16         version
17       end
18     end
19   end
21   depends_on macos: ">= :big_sur"
23   app "Millie.app"
25   zap trash: [
26     "~/Library/Application Support/kr.co.millie.MillieShelf/",
27     "~/Library/Caches/kr.co.millie.MillieShelf",
28     "~/Library/HTTPStorages/kr.co.millie.MillieShelf.binarycookies",
29     "~/Library/Saved Application State/kr.co.millie.MillieShelf.savedState",
30     "~/Library/WebKit/kr.co.millie.MillieShelf",
31   ]
32 end