homebrew-cask/Casks/authy.rb

25 lines
1010 B
Ruby

cask "authy" do
version "1.8.3"
sha256 "7c276cabcacfdcde4c695f93b2065c4499c25849831e8316aaedb75750ccd559"
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/"
appcast "https://macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://electron.authy.com/download%3Fchannel=stable%26arch=x64%26platform=darwin%26version=latest%26product=authy"
name "Authy Desktop"
desc "Two-factor authentication software"
homepage "https://authy.com/"
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