homebrew-cask/Casks/brave.rb

23 lines
825 B
Ruby
Raw Normal View History

cask 'brave' do
2018-02-16 05:34:41 +08:00
version '0.20.42'
sha256 '83b39314e9d44800ab710a1fa01dcf8d9c86eb8c7a762d10701b2c59c2ee98d1'
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"
appcast 'https://github.com/brave/browser-laptop/releases.atom',
2018-02-16 05:34:41 +08:00
checkpoint: 'bef6f120af4b21cfe76bfa91ac8fdc6a75b6f8074b78858d079505cee3ecbb72'
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