homebrew-cask/Casks/brave.rb

23 lines
826 B
Ruby

cask 'brave' do
version '0.19.123'
sha256 '56b9dc99f661fafc30856804e0224167d27bd71128673563ca066e3b8b4afe53'
# github.com/brave/browser-laptop was verified as official when first introduced to the cask
url "https://github.com/brave/browser-laptop/releases/download/v#{version}dev/Brave-#{version}.dmg"
appcast 'https://github.com/brave/browser-laptop/releases.atom',
checkpoint: '9022927fb79d099ae47547e65d8a36b3de37cfe9ed7eb5c4392fccf2da05c0bd'
name 'Brave'
homepage 'https://brave.com/'
auto_updates true
depends_on macos: '>= :mavericks'
app 'Brave.app'
zap trash: [
'~/Library/Application Support/brave',
'~/Library/Preferences/com.electron.brave.plist',
'~/Library/Saved Application State/com.electron.brave.savedState',
]
end