cask "routine" do arch arm: "-arm64" version "3.0.0" sha256 arm: "d0e6897d5273c9105901c63696e7d48041f53c5e264b278d34ef201786794ad8", intel: "22ade9a1added8f3673edd7dfcf0fed1a862c5a8bb853a65123194b00f0b78d6" url "https://releases.routine.co/routine/osx#{arch}/Routine-#{version}.zip" name "Routine" desc "Calendar for productive people" homepage "https://www.routine.co/" livecheck do url "https://releases.routine.co/routine/osx#{arch}/stable.json" strategy :json do |json| json["currentRelease"] end end auto_updates true depends_on :macos app "Routine.app" zap trash: [ "~/Library/Application Support/Routine", "~/Library/Caches/co.routine.desktop", "~/Library/Caches/co.routine.desktop.ShipIt", "~/Library/HTTPStorages/co.routine.desktop", "~/Library/Preferences/co.routine.desktop.plist", "~/Library/Saved Application State/co.routine.desktop.savedState", ] end