2015-12-18 09:15:28 +08:00
|
|
|
cask 'electron' do
|
2018-07-04 08:35:44 +08:00
|
|
|
version '2.0.4'
|
|
|
|
sha256 'd18b4b975fa84d8e50fe2c868d6ab3de636c5bd9a3988898723023b3ecb8bea5'
|
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"
|
2018-06-12 22:37:26 +08:00
|
|
|
appcast 'https://github.com/electron/electron/releases.atom'
|
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'
|
2016-05-28 02:18:21 +08:00
|
|
|
|
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
|