homebrew-cask/Casks/brave.rb

22 lines
734 B
Ruby
Raw Normal View History

cask 'brave' do
2018-09-21 04:03:09 +08:00
version '0.24.0'
sha256 '1937e2753845ab20070cc478307312aec5bbd01b621b25fce3757212e89c8629'
2016-02-12 06:00:22 +08:00
# github.com/brave/browser-laptop was verified as official when first introduced to the cask
2017-04-27 19:58:28 +08:00
url "https://github.com/brave/browser-laptop/releases/download/v#{version}dev/Brave-#{version}.dmg"
2018-06-12 22:37:26 +08:00
appcast 'https://github.com/brave/browser-laptop/releases.atom'
name 'Brave'
homepage 'https://brave.com/'
auto_updates true
depends_on macos: '>= :mavericks'
app 'Brave.app'
2016-05-14 10:47:35 +08:00
2017-11-18 17:38:07 +08:00
zap trash: [
'~/Library/Application Support/brave',
'~/Library/Preferences/com.electron.brave.plist',
'~/Library/Saved Application State/com.electron.brave.savedState',
]
end