cask "1password@7" do version "7.10.4" sha256 "e4f5cdaee7fc9b92b229fbf4cc8a38cc80382fd31e4d03cc6719a0b87d7aac3a" url "https://c.1password.com/dist/1P/mac#{version.major}/1Password-#{version}.zip" name "1Password" desc "Password manager that keeps all passwords secure behind one password" homepage "https://1password.com/" livecheck do url "https://app-updates.agilebits.com/check/1/99/OPM#{version.major}/en/0" strategy :json do |json| json["version"] end end auto_updates true depends_on macos: :monterey app "1Password #{version.major}.app" zap trash: [ "~/Library/Application Scripts/*.agilebits.onepassword*", "~/Library/Containers/*.agilebits.onepassword*", "~/Library/Group Containers/2BUA8C4S2C.com.agilebits", "~/Library/Logs/1Password", "~/Library/Preferences/com.agilebits.onepassword*", ] end