Merge pull request #200213 from Homebrew/bump-tidelift-1.14.0
[Homebrew/homebrew-cask.git] / Casks / l / lazycat.rb
blob2234e23cb47d01c29e7644dc94b8fdfc08cd0ba3
1 cask "lazycat" do
2   arch arm: "arm64", intel: "x64"
4   version "1.1.8-3"
5   sha256  arm:   "94a80cec33bf58ddacd2dfcc18352d2de2e941cff9402c60d264eed6018347aa",
6           intel: "035787b20bcc4446b287763c5086a4da76f2b05bb56ec04b950cc219d4932633"
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