Merge pull request #198803 from Homebrew/bump-wizcli-0.69.0
[Homebrew/homebrew-cask.git] / Casks / a / anytype.rb
blob9a4ef5dc2f9a16ce38009a17fed2d5811976b8c7
1 cask "anytype" do
2   arch arm: "arm64", intel: "x64"
4   version "0.44.0"
5   sha256 arm:   "a6200707fb7546aef65b5048ffc6ca8ddded1025961cf4f7c72c81f94e8752ff",
6          intel: "60a0e79d686d349c343b14bdadf2fc89ab90b547086d1582fc489c1132c6e461"
8   url "https://anytype-release.fra1.cdn.digitaloceanspaces.com/Anytype-#{version}-mac-#{arch}.dmg",
9       verified: "anytype-release.fra1.cdn.digitaloceanspaces.com/"
10   name "Anytype"
11   desc "Local-first and end-to-end encrypted notes app"
12   homepage "https://anytype.io/"
14   livecheck do
15     url "https://anytype-release.fra1.cdn.digitaloceanspaces.com/latest-mac.yml?v=#{Time.new.to_i}"
16     strategy :electron_builder
17   end
19   auto_updates true
20   conflicts_with cask: [
21     "anytype@alpha",
22     "anytype@beta",
23   ]
24   depends_on macos: ">= :catalina"
26   app "Anytype.app"
28   zap trash: [
29     "~/Library/Application Support/anytype2",
30     "~/Library/Logs/anytype2",
31     "~/Library/Preferences/com.anytype.anytype2.plist",
32     "~/Library/Saved Application State/com.anytype.anytype2.savedState",
33   ]
34 end