excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / affine.rb
blob66584bb1f4fd22d6135db7a09ab22e25e865f7fa
1 cask "affine" do
2   arch arm: "arm64", intel: "x64"
4   version "0.18.2"
5   sha256 arm:   "bc3791fc8c0db97bd52ba933aa665a6133bdcadcc0807b6ee87c14b15a7aad2a",
6          intel: "c1b2705c4d0d1a34949393b044153efb9d63e089fbf608c56736ef49c947d88f"
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