homebrew-cask/Casks/brave.rb

23 lines
825 B
Ruby

cask 'brave' do
version '0.21.18'
sha256 'c507e928485ec3fb9cb227a027bd9096936c99cb5d8288cd4443a61d01559457'
# 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: 'ccac84a9b82c68e68667ce459e7ce4ef9fcc3b58837c71a92e5074f5345d382a'
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