2016-01-31 12:30:28 +08:00
|
|
|
cask 'brave' do
|
2018-09-21 04:03:09 +08:00
|
|
|
version '0.24.0'
|
|
|
|
sha256 '1937e2753845ab20070cc478307312aec5bbd01b621b25fce3757212e89c8629'
|
2016-01-31 12:30:28 +08:00
|
|
|
|
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'
|
2016-01-31 12:30:28 +08:00
|
|
|
name 'Brave'
|
2016-11-27 18:49:48 +08:00
|
|
|
homepage 'https://brave.com/'
|
2016-01-31 12:30:28 +08:00
|
|
|
|
2017-07-19 14:34:31 +08:00
|
|
|
auto_updates true
|
|
|
|
depends_on macos: '>= :mavericks'
|
|
|
|
|
2016-01-31 12:30:28 +08:00
|
|
|
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',
|
|
|
|
]
|
2016-01-31 12:30:28 +08:00
|
|
|
end
|