electron-prebuilt-path

2.0.0 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i electron-prebuilt-path

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • mathphreak