cask "routine" do arch arm: "-arm64" version "0.21.4" sha256 arm: "7ddd1e4de7e02cff8c5194e92e3d460a73295bf958e6e1f91f5448d7de9b6632", intel: "4f3f3c25fb543664827f1c8543b8143ee7a29b1ca52d7ed1440f545082384fde" 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: ">= :big_sur" 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