Update keepassxc (#80374)

* Update keepassxc

Add sierra download url & checksum.

* Update keepassxc.rb

Co-authored-by: Vítor Galvão <info@vitorgalvao.com>
This commit is contained in:
Dario Vladović 2020-04-10 17:08:13 +02:00 committed by GitHub
parent e5983bf060
commit 249a228067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 4 deletions

View File

@ -1,14 +1,21 @@
cask 'keepassxc' do
version '2.5.4'
sha256 '3d56ebbcb3471a2f6116abe884d1e7b662347b80e18cc0a12ca9fdf2c9a14d7a'
# github.com/keepassxreboot/keepassxc was verified as official when first introduced to the cask
url "https://github.com/keepassxreboot/keepassxc/releases/download/#{version}/KeePassXC-#{version}.dmg"
if MacOS.version <= :sierra
# github.com/keepassxreboot/keepassxc was verified as official when first introduced to the cask
url "https://github.com/keepassxreboot/keepassxc/releases/download/#{version}/KeePassXC-#{version}-Sierra.dmg"
sha256 '7cd8dc34022091c240e538f7a9889afd7dc8f9f3957a66bca9d70c067045ade4'
else
# github.com/keepassxreboot/keepassxc was verified as official when first introduced to the cask
url "https://github.com/keepassxreboot/keepassxc/releases/download/#{version}/KeePassXC-#{version}.dmg"
sha256 '3d56ebbcb3471a2f6116abe884d1e7b662347b80e18cc0a12ca9fdf2c9a14d7a'
end
appcast 'https://github.com/keepassxreboot/keepassxc/releases.atom'
name 'KeePassXC'
homepage 'https://keepassxc.org/'
depends_on macos: '>= :high_sierra'
depends_on macos: '>= :sierra'
app 'KeePassXC.app'
binary "#{appdir}/KeePassXC.app/Contents/MacOS/keepassxc-cli"