veracrypt: add livecheck (#97647)

This commit is contained in:
Markus Reiter 2021-01-09 18:19:30 +01:00 committed by GitHub
parent 8518215834
commit 13222cd23b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -4,11 +4,16 @@ cask "veracrypt" do
url "https://launchpad.net/veracrypt/trunk/#{version.downcase}/+download/VeraCrypt_#{version}.dmg",
verified: "launchpad.net/veracrypt/trunk/"
appcast "https://github.com/veracrypt/VeraCrypt/releases.atom"
name "VeraCrypt"
desc "Disk encryption software focusing on security based on TrueCrypt"
homepage "https://www.veracrypt.fr/"
livecheck do
url "https://github.com/veracrypt/VeraCrypt/releases"
strategy :github_latest
regex(%r{href=.*?/VeraCrypt_(\d+(?:\.\d+)*[^/]*?)\.dmg}i)
end
depends_on cask: "osxfuse"
pkg "VeraCrypt_Installer.pkg"