Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/s-a/electron-recompile
re-compile native modules against electron
https://github.com/s-a/electron-recompile
Last synced: about 5 hours ago
JSON representation
re-compile native modules against electron
- Host: GitHub
- URL: https://github.com/s-a/electron-recompile
- Owner: s-a
- License: other
- Created: 2015-07-30T09:17:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-12T05:22:13.000Z (almost 9 years ago)
- Last Synced: 2024-11-13T20:43:37.433Z (3 days ago)
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# electron-recompile
## Installation
```bash
$ npm install -g electron-recompile;
```## Usage
```bash
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```
```bash
$ cd your-project-path;
$ npm install electron-prebuilt;
$ electron-recompile;
```## Dependencies
- [Node.js](https://nodejs.org/)
- [git commands](https://git-scm.com/downloads)
- [Linux bash commands](https://git-scm.com/downloads) also available on windows via git bash.
- [node-gyp](https://github.com/TooTallNate/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```