homebrew-cask/Casks/busycal.rb

26 lines
1.1 KiB
Ruby

cask 'busycal' do
version '3.6.2,360212'
sha256 '187511e4fc2fb0e74bf64eb7a82a862ef2e3842f4a0ac521abc3aa86c7feb40e'
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