homebrew-cask/Casks/m/mailbutler.rb

30 lines
965 B
Ruby

cask "mailbutler" do
version "6714,2954227"
sha256 "f9e8b72c6b7ffe0c8276c93a80667d037479618e49a2a700c9a0e9277e065a77"
url "https://downloads.mailbutler.io/sparkle/public/Mailbutler_#{version.csv.first}-#{version.csv.second}.zip"
name "Mailbutler"
desc "Personal assistant and productivity tool for Apple Mail"
homepage "https://www.mailbutler.io/"
livecheck do
url "https://downloads.mailbutler.io/sparkle/public/appcast.xml"
strategy :sparkle
end
depends_on macos: ">= :high_sierra"
app "Mailbutler.app"
uninstall delete: "/Library/Mail/Bundles/Mailbutler.mailbundle"
zap trash: [
"~/Library/Application Support/com.mailbutler.app",
"~/Library/Caches/com.mailbutler.app",
"~/Library/LaunchAgents/com.mailbutler.agent.plist",
"~/Library/Preferences/com.mailbutler.agent.plist",
"~/Library/Preferences/com.mailbutler.app.plist",
"~/Library/Saved Application State/com.mailbutler.app.savedState",
]
end