cask "vimcal" do arch arm: "-arm64" host_suffix = on_arch_conditional arm: "m1", intel: "production" version "1.0.37" sha256 arm: "b1783104d498dda3423e4ce07e23048f1c764a55d9c49549f12e0153a6dfee03", intel: "085d729f1ec52de5843d0ee6f25b93d9671049c9dec6fed664cbec3879cdd4be" url "https://vimcal-#{host_suffix}.s3.amazonaws.com/Vimcal-#{version}#{arch}.dmg", verified: "vimcal-#{host_suffix}.s3.amazonaws.com/" name "Vimcal" desc "Calendar" homepage "https://vimcal.com/" livecheck do url "https://vimcal-#{host_suffix}.s3.amazonaws.com/latest-mac.yml" strategy :electron_builder end auto_updates true depends_on macos: ">= :big_sur" app "Vimcal.app" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.vimcal.app.sfl*", "~/Library/Application Support/Vimcal", "~/Library/Preferences/com.vimcal.app.plist", "~/Library/Saved Application State/com.vimcal.app.savedState", ] end