homebrew-cask/Casks/electron.rb

21 lines
830 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'electron' do
2017-03-09 07:07:16 +08:00
version '1.6.2'
sha256 '6e2e9d3fa3197c00e243f3eba7e24e9c1ff318377422106d51ede6b63b814e86'
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',
2017-03-09 07:07:16 +08:00
checkpoint: 'db463e1ca5546a297361f79c9b9303d6034f78f115028a26fc3755eb09d5a31a'
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'
zap delete: [
'~/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