homebrew-cask/Casks/electron.rb

21 lines
701 B
Ruby

cask "electron" do
version "11.0.4"
sha256 "0b5bb200fa901eb08337c8691673583f8fee084704d45450bc2492f992f6c753"
url "https://github.com/electron/electron/releases/download/v#{version}/electron-v#{version}-darwin-x64.zip",
verified: "github.com/electron/electron/"
appcast "https://www.electronjs.org/releases/stable"
name "Electron"
desc "Build cross-platform desktop apps with JavaScript, HTML, and CSS"
homepage "https://electronjs.org/"
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