cask "vimcal" do arch arm: "-arm64" host_suffix = on_arch_conditional arm: "m1", intel: "production" version "1.0.31" sha256 arm: "8591360b7d8209454ea894af784d2f8e6491bcc56a53c4f99f72600cb9a2f560", intel: "a3f764b1d0829f214caa04bb0f9aff803b109c02b28d74f66522f1d81994e3a9" 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: ">= :catalina" 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