cask "crosspaste" do arch arm: "aarch64", intel: "amd64" version "1.0.13.1121" sha256 arm: "740d0d673fa08391252284b047d777ff24f3ef1ba389cee59744854df3ccded2", intel: "36d32abbb669bec140a95b01324e90f94b8f3b7f7ef223166a2347b6edc6e717" url "https://github.com/CrossPaste/crosspaste-desktop/releases/download/#{version}/crosspaste-#{version.major_minor_patch}-#{version.split(".").last}-mac-#{arch}.zip", verified: "github.com/CrossPaste/crosspaste-desktop/" name "crosspaste" desc "Universal Pasteboard Across Devices" homepage "https://crosspaste.com/en/" livecheck do url :url strategy :github_latest end depends_on macos: ">= :ventura" app "CrossPaste.app" zap trash: [ "~/Library/Application Support/CrossPaste", "~/Library/HTTPStorages/com.crosspaste.mac", "~/Library/HTTPStorages/com.crosspaste.mac.binarycookies", "~/Library/LaunchAgents/com.crosspaste.mac.plist", "~/Library/Preferences/com.crosspaste.mac.plist", ] end