homebrew-cask/Casks/authy.rb

29 lines
978 B
Ruby

cask "authy" do
version "1.9.0"
sha256 "6cb1c94df75f4575148f369bba30ba0c5f49f563370545ecd687658090c0ac08"
url "https://authy-electron-repository-production.s3.amazonaws.com/authy/stable/#{version}/darwin/x64/Authy%20Desktop-#{version}.dmg",
verified: "authy-electron-repository-production.s3.amazonaws.com/"
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