Files
homebrew-cask/Casks/r/routine.rb
2023-11-20 19:00:16 -05:00

34 lines
972 B
Ruby

cask "routine" do
arch arm: "-arm64"
version "0.16.0"
sha256 arm: "6fa15ed9f14c4a55957c200da5579f5e9210892333e2d5c1966a54e965c8f96a",
intel: "d026a6758433b41118aadba2edcab277d11fbef3b9606b008d08509e1b508dee"
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