mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
33 lines
1.0 KiB
Ruby
33 lines
1.0 KiB
Ruby
cask "vimcal" do
|
|
arch arm: "-arm64"
|
|
host_suffix = on_arch_conditional arm: "m1", intel: "production"
|
|
|
|
version "1.0.25"
|
|
sha256 arm: "6cbc226dcd82089162c4032af83dd2764619254a9df90eab5212ad5f477ac16d",
|
|
intel: "a07763ff4c6d3e1f2aa91674c425baf234d927402488df77030d30f4e6417642"
|
|
|
|
url "https://vimcal-#{host_suffix}.s3.us-west-1.amazonaws.com/Vimcal-#{version}#{arch}.dmg",
|
|
verified: "vimcal-#{host_suffix}.s3.us-west-1.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
|