homebrew-cask/Casks/brave.rb

23 lines
828 B
Ruby

cask 'brave' do
version '0.18.36'
sha256 '0aa0ebfd310a627f4ba50c518bd141764a4b0335d5bc244d3cc8fa1538bfaef0'
# 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: '9732ab3236b80c416500a6110da0a298494b1a07fe74835c3caad5f630226bcb'
name 'Brave'
homepage 'https://brave.com/'
auto_updates true
depends_on macos: '>= :mavericks'
app 'Brave.app'
zap delete: '~/Library/Saved Application State/com.electron.brave.savedState',
trash: [
'~/Library/Application Support/brave',
'~/Library/Preferences/com.electron.brave.plist',
]
end