homebrew-cask/Casks/electron.rb

21 lines
824 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'electron' do
2018-05-23 06:33:13 +08:00
version '2.0.2'
sha256 'e8fccb20e4562ef0fc8d035f9d1348da849499027fa2d8d3e5e16e84f1b8ae58'
2015-04-18 13:43:10 +08:00
2016-12-08 13:13:14 +08:00
# github.com/electron/electron was verified as official when first introduced to the cask
url "https://github.com/electron/electron/releases/download/v#{version}/electron-v#{version}-darwin-x64.zip"
appcast 'https://github.com/electron/electron/releases.atom',
2018-05-23 06:33:13 +08:00
checkpoint: '2cc6c05bdcffe1c832a7e201676fbc45b8d23b1aadfed89b5c56a68e4648a195'
2015-04-18 13:43:10 +08:00
name 'Electron'
2017-02-26 07:37:01 +08:00
homepage 'https://electron.atom.io/'
2015-04-18 13:43:10 +08:00
2015-05-11 11:25:04 +08:00
app 'Electron.app'
2017-11-18 17:59:16 +08:00
zap trash: [
'~/Library/Application Support/Electron',
'~/Library/Caches/Electron',
'~/Library/Preferences/com.github.electron.helper.plist',
'~/Library/Preferences/com.github.electron.plist',
]
2015-04-18 13:43:10 +08:00
end