Casks/r/routine.rb
cask "routine" do
arch arm: "-arm64"
version "0.18.1"
sha256 arm: "50a094225c8406428413ba305dae8ee875e7003613a1e95639db2f7a71bd37c0",
intel: "f077914d0d93e966a9d377b001d5778e942938b1b946fd2ff0aced018ac5b5c6"
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