cask "anytype" do arch arm: "arm64", intel: "x64" version "0.43.6" sha256 arm: "fb82eab96788815730e39c34e6f2af8dc7b9a75345da1f579bed3b96233d349d", intel: "e2d63f09f9eed05aa98f98dc76a9d48ae911a385d577391a1ac48a17fbc721ed" 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?v=#{Time.new.to_i}" strategy :electron_builder end auto_updates true conflicts_with cask: [ "anytype@alpha", "anytype@beta", ] depends_on macos: ">= :catalina" 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