cask "calendar-366" do # NOTE: "366" is not a version number, but an intrinsic part of the product name version "2.15.7" sha256 "075907f10feecff8a9e3fd0154ec54ff3df3151a88735b359be067a36a6237d7" url "https://nspektor.com/downloads/Calendar366_v#{version}.dmg" name "Calendar 366 II" desc "Menu bar calendar for events and reminders" homepage "https://nspektor.com/calendar366/mac" livecheck do url "https://nspektor.com/downloads/Calendar366IIAsset.xml" strategy :sparkle, &:short_version end no_autobump! because: :requires_manual_review depends_on macos: ">= :mojave" app "Calendar 366 II.app" zap trash: [ "~/Library/Application Scripts/com.nspektor.macos.Calendar-366-II-Mini", "~/Library/Application Support/Calendar 366 II", "~/Library/Caches/com.nspektor.macos.Calendar-366-II", "~/Library/Preferences/com.nspektor.macos.Calendar-366-II.plist", ] end