cask "anytype@alpha" do arch arm: "arm64", intel: "x64" version "0.47.17-beta" sha256 arm: "50543880395d4b9713fdc93e3f3314f422bff9df568816aef279983892e839c3", intel: "93f7449c0bc5b02fb40796d01a823e949fb160ebe3fe0279d17f8ce31a0cedb3" 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/alpha-mac.yml?v=#{Time.new.to_i}" strategy :electron_builder end auto_updates true conflicts_with cask: [ "anytype", "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