electron-recompile
Installation
$ npm install -g electron-recompile;
Usage
index [folder] [options] Options: -h, --help output usage information -V, --version output the version number -a, --arch [value] processor architecture -e, --electron [value] electron version
Example
Recompiled native modules to your-project-path/electron-recompiled
$ cd your-project-path;$ npm install electron-prebuilt;$ electron-recompile;
Dependencies
- Node.js
- git commands
- Linux bash commands also available on windows via git bash.
- node-gyp
npm install node-gyp@latest
- A c++ compiler on Windows Microsoft Visual C++ 2015 Express works best
npm config set msvs_version=2015 --global
set GYP_MSVS_VERSION=2010