homebrew-cask/Casks/s/superhuman.rb

33 lines
1.1 KiB
Ruby

cask "superhuman" do
arch arm: "-arm64"
version "25.1.34"
sha256 arm: "69c534236f83e88b34517262b30b2661841ca6407d929e3398b340d59b8d9e19",
intel: "ee76acccb6cc9ed970332cd5096a3ff26c976894ae2400735f5e42257efec1e1"
url "https://storage.googleapis.com/download.superhuman.com/supertron-update/Superhuman-#{version}#{arch}-latest-mac.zip",
verified: "storage.googleapis.com/download.superhuman.com/supertron-update/"
name "Superhuman"
desc "Email client"
homepage "https://superhuman.com/"
livecheck do
url "https://storage.googleapis.com/download.superhuman.com/supertron-update/latest-mac.yml"
strategy :electron_builder
end
auto_updates true
app "Superhuman.app"
zap trash: [
"~/Library/Application Support/Superhuman",
"~/Library/Caches/com.superhuman.electron*",
"~/Library/Caches/Superhuman",
"~/Library/Logs/Superhuman",
"~/Library/Preferences/com.superhuman.electron.*",
"~/Library/Preferences/com.superhuman.mail.plist",
"~/Library/Saved Application State/com.superhuman.electron.savedState",
]
end