homebrew-cask/Casks/authy.rb

28 lines
864 B
Ruby

cask "authy" do
version "2.2.3"
sha256 "a75657222028822949516805f5af5406d4a786d0db0a9f91bd04cc08779883df"
url "https://pkg.authy.com/authy/stable/#{version}/darwin/x64/Authy%20Desktop-#{version}.dmg"
name "Authy Desktop"
desc "Two-factor authentication software"
homepage "https://authy.com/"
livecheck do
url "https://electron.authy.com/download?channel=stable&arch=x64&platform=darwin&version=latest&product=authy"
strategy :header_match
end
auto_updates true
app "Authy Desktop.app"
zap trash: [
"~/Library/Application Support/Authy Desktop",
"~/Library/Caches/com.authy.authy-mac",
"~/Library/Caches/com.authy.authy-mac.ShipIt",
"~/Library/Cookies/com.authy.authy-mac.binarycookies",
"~/Library/Preferences/com.authy.authy-mac.helper.plist",
"~/Library/Preferences/com.authy.authy-mac.plist",
]
end