homebrew-cask/Casks/electron.rb

20 lines
734 B
Ruby

cask 'electron' do
version '2.0.8'
sha256 '603de8aa2d59b923717cbbf3020d9ef9b7db5f856ac2e662ba60e1f680c7fbf6'
# 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