cask "buttercup" do version "2.28.1" sha256 "b2399d44f23dd39b851989e5aee2651fe1b1bdb37a525b7553a7ae8630a1b8e6" url "https://github.com/buttercup/buttercup-desktop/releases/download/v#{version}/Buttercup-mac-x64-#{version}.dmg", verified: "github.com/buttercup/buttercup-desktop/" name "Buttercup" desc "Javascript Secrets Vault - Multi-Platform Desktop Application" homepage "https://buttercup.pw/" livecheck do url :url strategy :github_latest end auto_updates true depends_on macos: ">= :high_sierra" app "Buttercup.app" zap trash: [ "~/Library/Application Support/Buttercup", "~/Library/Application Support/Buttercup-nodejs", "~/Library/Logs/Buttercup-nodejs", "~/Library/Preferences/Buttercup-nodejs", "~/Library/Preferences/pw.buttercup.desktop.plist", "~/Library/Saved Application State/pw.buttercup.desktop.savedState", ] caveats do requires_rosetta end end