excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / l / lazycat.rb
blob62cbde981a52e07299a4fe492f01df08986e4f98
1 cask "lazycat" do
2   arch arm: "arm64", intel: "x64"
4   version "1.1.1"
5   sha256  arm:   "9102071244acea51f5e277d047bfcc5cef26de29bbceb100ea312cbd4538944b",
6           intel: "6ba9d58b6390bea61c24271e55b58de59f4d1cdda28883e4329dfbd3970eee07"
8   url "https://dl.lazycat.cloud/client/desktop/stable/lzc-client-desktop_v#{version}_#{arch}.dmg"
9   name "LazyCat"
10   desc "Client for LazyCat hardware"
11   homepage "https://lazycat.cloud/"
13   livecheck do
14     url "https://dl.lazycat.cloud/client/desktop/lzc-client-desktop_#{arch}.dmg.metadata.json"
15     strategy :json do |json|
16       json["buildVersion"]&.delete_prefix("v")
17     end
18   end
20   depends_on macos: ">= :catalina"
22   app "懒猫微服.app"
24   zap trash: [
25     "~/lazycat",
26     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/cloud.lazycat.client.sfl*",
27     "~/Library/Preferences/cloud.lazycat.client.plist",
28     "~/Library/Saved Application State/cloud.lazycat.client.savedState",
29   ]
30 end