34 lines
1.1 KiB
Ruby
34 lines
1.1 KiB
Ruby
cask 'itsycal' do
|
|
if MacOS.version <= :mavericks
|
|
version '0.8.15'
|
|
sha256 '6470719a1f702c807f98a992880def5f499858231bf35924eaf3e0d5df48b436'
|
|
|
|
# s3.amazonaws.com/itsycal was verified as official when first introduced to the cask
|
|
url "https://s3.amazonaws.com/itsycal/Itsycal-#{version}.zip"
|
|
elsif MacOS.version <= :el_capitan
|
|
version '0.10.16'
|
|
sha256 'dbf1b104c7a3a2ca3ead9879145cb0557955c29d53f35a92b42f48e68122957c'
|
|
|
|
# s3.amazonaws.com/itsycal was verified as official when first introduced to the cask
|
|
url "https://s3.amazonaws.com/itsycal/Itsycal-#{version}.zip"
|
|
else
|
|
version '0.11.13'
|
|
sha256 'cc6a51ebbc8eec4131c4062b3b8a3e5dcff21998ddf2ce30e5e3f449f5c28736'
|
|
|
|
# s3.amazonaws.com/itsycal was verified as official when first introduced to the cask
|
|
url "https://s3.amazonaws.com/itsycal/Itsycal-#{version}.zip"
|
|
appcast 'https://s3.amazonaws.com/itsycal/itsycal.xml'
|
|
end
|
|
|
|
name 'Itsycal'
|
|
homepage 'https://www.mowglii.com/itsycal/'
|
|
|
|
depends_on macos: '>= :mountain_lion'
|
|
|
|
app 'Itsycal.app'
|
|
|
|
uninstall login_item: 'Itsycal'
|
|
|
|
zap trash: '~/Library/Preferences/com.mowglii.ItsycalApp.plist'
|
|
end
|