homebrew-cask/Casks/p/protonmail-bridge.rb

29 lines
804 B
Ruby

cask "protonmail-bridge" do
version "3.11.1"
sha256 "c078746b46b4eee3047ea094f62e3eb8ac428e8aa36a583d580c58c385c66bb2"
url "https://github.com/ProtonMail/proton-bridge/releases/download/v#{version}/Bridge-Installer.dmg",
verified: "github.com/ProtonMail/proton-bridge/"
name "Proton Mail Bridge"
desc "Bridges Proton Mail to email clients supporting IMAP and SMTP protocols"
homepage "https://proton.me/mail/bridge"
livecheck do
url :url
strategy :github_latest
end
auto_updates true
app "Proton Mail Bridge.app"
uninstall launchctl: "Proton Mail Bridge",
quit: "com.protonmail.bridge"
zap trash: [
"~/Library/Application Support/protonmail",
"~/Library/Caches/Proton AG/Proton Mail Bridge",
"~/Library/Caches/protonmail",
]
end