Files
homebrew-cask/Casks/y/yubico-authenticator.rb
2023-09-07 12:53:35 -04:00

24 lines
756 B
Ruby

cask "yubico-authenticator" do
version "6.3.0"
sha256 "5b3dd82a4b67317bb177afe2ab60080b64f834a9b8b23619ef14eab860c6cdc0"
url "https://developers.yubico.com/yubioath-flutter/Releases/yubico-authenticator-#{version}-mac.dmg"
name "Yubico Authenticator"
desc "Application for generating TOTP and HOTP codes"
homepage "https://developers.yubico.com/yubioath-flutter/"
livecheck do
url "https://developers.yubico.com/yubioath-flutter/Releases/"
regex(/href=.*?yubico[._-]authenticator[._-]v?(\d+(?:\.\d+)+)[._-]mac\.dmg/i)
end
depends_on macos: ">= :big_sur"
app "Yubico Authenticator.app"
zap trash: [
"~/Library/Application Scripts/com.yubico.authenticator",
"~/Library/Containers/com.yubico.authenticator",
]
end