homebrew-cask/Casks/threema.rb

24 lines
640 B
Ruby

cask "threema" do
version "1.1.0"
sha256 :no_check
url "https://releases.threema.ch/web-electron/v1/release/Threema-Latest.dmg"
name "threema"
desc "End-to-end encrypted instant messaging application"
homepage "https://threema.ch/"
livecheck do
url "https://threema.ch/en/whats-new"
regex(/Threema\s*for\s*Desktop\s*(\d+(?:\.\d+)+)/i)
end
app "Threema.app"
zap trash: [
"~/Library/Application Support/threema-consumer-web",
"~/Library/Logs/threema-consumer-web",
"~/Library/Preferences/threema-consumer-web.plist",
"~/Library/Saved Application State/threema-consumer-web.savedState",
]
end