homebrew-cask/Casks/authy.rb

24 lines
1.1 KiB
Ruby

cask 'authy' do
version '1.8.0'
sha256 '392e7778b48b9b1a33e6ec1cdd0be6f4dbd7e2afb891d73b07e70190d533623e'
# authy-electron-repository-production.s3.amazonaws.com was verified as official when first introduced to the cask
url "https://authy-electron-repository-production.s3.amazonaws.com/authy/stable/#{version}/darwin/x64/Authy%20Desktop-#{version}.dmg"
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'
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