Find the Electron binaries from anywhere
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitattributes
.gitignore
.travis.yml
README.md
appveyor.yml
index.js
package.json

README.md

electron-prebuilt-path

Find the Electron binaries from anywhere, whether running in Node or Electron. Defers to electron-prebuilt for all the hard work.

Usage

var electronPath = require('electron-prebuilt-path')
var proc = require('child_process')

// will print something similar to /Users/maf/.../Electron, even if run in Electron
console.log(electronPath)

// spawn Electron, even if run in Electron
var child = proc.spawn(electronPath)