homebrew-cask/Casks/bitwarden.rb

26 lines
848 B
Ruby

cask 'bitwarden' do
version '1.3.0'
sha256 'a8e24abd6c28b3deef00b30b9be632ab799e31c1557d26f3c732725b2439acb3'
# github.com/bitwarden/desktop was verified as official when first introduced to the cask
url "https://github.com/bitwarden/desktop/releases/download/v#{version}/bitwarden-#{version}-mac.zip"
appcast 'https://github.com/bitwarden/desktop/releases.atom'
name 'Bitwarden'
homepage 'https://bitwarden.com/'
depends_on macos: '>= :mavericks'
app 'Bitwarden.app'
uninstall quit: [
'com.bitwarden.desktop',
'com.bitwarden.desktop.helper',
]
zap trash: [
'~/Library/Logs/Bitwarden',
'~/Library/Preferences/com.bitwarden.desktop.plist',
'~/Library/Preferences/com.bitwarden.desktop.helper.plist',
]
end