2 arch arm: "arm64", intel: "x64"
5 sha256 arm: "94a80cec33bf58ddacd2dfcc18352d2de2e941cff9402c60d264eed6018347aa",
6 intel: "035787b20bcc4446b287763c5086a4da76f2b05bb56ec04b950cc219d4932633"
8 url "https://dl.lazycat.cloud/client/desktop/stable/lzc-client-desktop_v#{version}_#{arch}.dmg"
10 desc "Client for LazyCat hardware"
11 homepage "https://lazycat.cloud/"
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")
20 depends_on macos: ">= :catalina"
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",