mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
24 lines
756 B
Ruby
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
|