Files
homebrew-cask/Casks/a/anytype.rb
2023-11-23 19:33:02 +01:00

30 lines
919 B
Ruby

cask "anytype" do
arch arm: "arm64", intel: "x64"
version "0.36.0"
sha256 arm: "1bda0de93d967da4b9806fbe2e439349d3be51965dc799f9352c1d5be3959788",
intel: "a68afafd9a17246287794ce7278cc35071119b74a921d87585176dc46782bc06"
url "https://anytype-release.fra1.cdn.digitaloceanspaces.com/Anytype-#{version}-mac-#{arch}.dmg",
verified: "anytype-release.fra1.cdn.digitaloceanspaces.com/"
name "Anytype"
desc "Local-first and end-to-end encrypted notes app"
homepage "https://anytype.io/"
livecheck do
url "https://anytype-release.fra1.cdn.digitaloceanspaces.com/latest-mac.yml"
strategy :electron_builder
end
auto_updates true
app "Anytype.app"
zap trash: [
"~/Library/Application Support/anytype2",
"~/Library/Logs/anytype2",
"~/Library/Preferences/com.anytype.anytype2.plist",
"~/Library/Saved Application State/com.anytype.anytype2.savedState",
]
end