excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / y / yes24-ebook.rb
blob006f566ceae83f0976c513f0e280372087c0cb03
1 cask "yes24-ebook" do
2   version "1.0.1.16"
3   sha256 "c9d2b2bc60e70381a3a45e0362d6f5d7ab703eb375c957d2e05adf278593bd8a"
5   url "https://ebookcdn.yes24.com/UPGRADE/PC_CREMA/mac/#{version}/YES24eBook.dmg"
6   name "YES24eBook"
7   desc "Crema Ebook reader for Yes24"
8   homepage "https://www.yes24.com/Main/default.aspx"
10   livecheck do
11     url "https://cremaupdate.k-epub.com/sv_update.aspx?usrid=&old=0"
12     strategy :xml do |xml|
13       xml.elements["//VERSION"]&.text&.strip
14     end
15   end
17   auto_updates true
18   depends_on macos: ">= :big_sur"
20   app "YES24_eBook.app"
22   zap trash: [
23     "~/Library/Application Scripts/com.yes24.macEBook",
24     "~/Library/Containers/com.yes24.macEBook",
25   ]
26 end