homebrew-cask/Casks/bitwarden.rb

31 lines
1.2 KiB
Ruby

cask 'bitwarden' do
version '1.17.2'
sha256 '39aba0b28aa2c0f6d1031df435875b84f96502f5866d9c6050503ca207cf01de'
# 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/'
auto_updates true
app 'Bitwarden.app'
uninstall quit: [
'com.bitwarden.desktop',
'com.bitwarden.desktop.helper',
]
zap trash: [
'~/Library/Logs/Bitwarden',
'~/Library/Application Support/Bitwarden',
'~/Library/Caches/com.bitwarden.desktop',
'~/Library/Caches/com.bitwarden.desktop.ShipIt',
'~/Library/Preferences/ByHost/com.bitwarden.desktop.ShipIt.*.plist',
'~/Library/Preferences/com.bitwarden.desktop.plist',
'~/Library/Preferences/com.bitwarden.desktop.helper.plist',
'~/Library/Saved Application State/com.bitwarden.desktop.savedState',
]
end