homebrew-cask/Casks/electron.rb

20 lines
735 B
Ruby

cask 'electron' do
version '3.0.12'
sha256 '3f6cf55b0ee7f5e3a9d7f5dc0e12015f28df2c55da46c8a4d0f1d12bd125d6f7'
# 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