Merge pull request #200213 from Homebrew/bump-tidelift-1.14.0
[Homebrew/homebrew-cask.git] / Casks / a / affine.rb
blob8b462f7124e1cfd22cf9c2ec12d21f6a54d786cc
1 cask "affine" do
2   arch arm: "arm64", intel: "x64"
4   version "0.19.6"
5   sha256 arm:   "70c1dc62d90d12152603ce447e7e8d67a57d5dbecccb1dbf280d09bce25bad7e",
6          intel: "cd177fcebf5b767ec334fce4712f2ee170932e90ab1f83baea1c0665e0c7c9b8"
8   url "https://github.com/toeverything/AFFiNE/releases/download/v#{version}/affine-#{version}-stable-macos-#{arch}.zip",
9       verified: "github.com/toeverything/AFFiNE/"
10   name "AFFiNE"
11   desc "Note editor and whiteboard"
12   homepage "https://affine.pro/"
14   livecheck do
15     url :url
16     strategy :github_latest
17   end
19   auto_updates true
20   depends_on macos: ">= :catalina"
22   app "AFFiNE.app"
24   zap trash: [
25     "~/Library/Application Support/AFFiNE",
26     "~/Library/Logs/AFFiNE",
27     "~/Library/Preferences/pro.affine.app.plist",
28     "~/Library/Saved Application State/pro.affine.app.savedState",
29   ]
30 end