31 lines
1.2 KiB
Ruby
31 lines
1.2 KiB
Ruby
cask 'bitwarden' do
|
|
version '1.9.0'
|
|
sha256 'e7ebc57f8e5429befd2ad9b16326447b50829dda177a3d030b06490e29d135e3'
|
|
|
|
# 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/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
|