cask "routine" do arch arm: "-arm64" version "0.19.8" sha256 arm: "764b78d03b7ea7517afe7527e1512bd92807c1d813b757595658e2666475fc14", intel: "0d9ac4388dffad6010429071b66ed098be5318386e80215afba404c1ca733d5c" 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: ">= :high_sierra" 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