homebrew-cask/Casks/busycal.rb

26 lines
1.0 KiB
Ruby

cask "busycal" do
version "3.10.2,401028"
sha256 "d41041c3f95b680d7c86f8d4a5469d3258a182349742011cf9d355eab9658a19"
url "https://www.busymac.com/download/BusyCal.zip"
appcast "https://www.busymac.com/busycal/news.plist"
name "BusyCal"
homepage "https://busymac.com/busycal/index.html"
auto_updates true
pkg "BusyCal Installer.pkg"
uninstall pkgutil: "com.busymac.busycal#{version.major}.pkg",
quit: "N4RA379GBW.com.busymac.busycal#{version.major}.alarm",
signal: ["TERM", "com.busymac.busycal#{version.major}"]
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.busymac.busycal#{version.major}.sfl*",
"~/Library/Containers/com.busymac.busycal#{version.major}",
"~/Library/Containers/N4RA379GBW.com.busymac.busycal#{version.major}.alarm",
"~/Library/Group Containers/com.busymac.busycal#{version.major}",
"~/Library/Group Containers/N4RA379GBW.com.busymac.busycal#{version.major}",
]
end