20 lines
734 B
Ruby
20 lines
734 B
Ruby
cask 'electron' do
|
|
version '3.0.4'
|
|
sha256 '959becd1a3d440d4cb6e423fc544c3e0f07f0488157414cea60886d082826e46'
|
|
|
|
# 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'
|
|
name 'Electron'
|
|
homepage 'https://electron.atom.io/'
|
|
|
|
app 'Electron.app'
|
|
|
|
zap trash: [
|
|
'~/Library/Application Support/Electron',
|
|
'~/Library/Caches/Electron',
|
|
'~/Library/Preferences/com.github.electron.helper.plist',
|
|
'~/Library/Preferences/com.github.electron.plist',
|
|
]
|
|
end
|