homebrew-cask/Casks/brave.rb

23 lines
825 B
Ruby

cask 'brave' do
version '0.20.30'
sha256 'ac6206ac345e831b35a9919b419cec0f725c0c5f361e492728afe10d6a680807'
# 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: 'a6da2b8c3e471a1d0d8f472b91cdd4241b5ebc5941d93baf8773e597f211d251'
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