3.1.3 • Published 6 years ago

electron-prebuilt-win v3.1.3

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
6 years ago

Electron Prebuilt

This project contains a prebuilt Electron for Windows x64 with winax and ffi that require rebuild against corresponding header files.

Getting started

Simply run npm install electron-prebuilt-win to install and then launch electron from the dist directory.

Electron will only search node_modules from the application directory or upper, so these prebuilt node modules dist/node_modules will not be able to loaded. Here is a workaround:

set "ELECTRON_HOME=path\to\electron-prebuilt-win\dist"
set "PATH=%ELECTRON_HOME%;%PATH%"
start "" electron.exe myapp

In the entry point (e.g. main.js), add this line at top

const prebuiltModuleDir = process.env.ELECTRON_HOME + '\\resources\\node_modules'
require('module').globalPaths.push(prebuiltModuleDir)

How to build

  1. Download iojs headers for Windows with this ./get_iojs.sh 2.02.2 (from amazon.s3 slow!)
  2. Run ./build.sh (you can comment out some sub tasks, if your project is file size sensitive)
3.1.3

6 years ago

3.0.15

6 years ago

2.0.17

6 years ago

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

3.1.2

6 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.0.14

6 years ago

4.0.0

7 years ago

3.0.13

7 years ago

3.0.12

7 years ago

3.0.11

7 years ago

2.0.16

7 years ago

2.0.15

7 years ago

3.0.10

7 years ago

3.0.9

7 years ago

3.0.8

7 years ago

3.0.7

7 years ago

3.0.6

7 years ago

3.0.5

7 years ago

3.0.4

7 years ago

3.0.3

7 years ago

2.0.14

7 years ago

2.0.13

7 years ago

2.0.12

7 years ago

2.0.11

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.10

7 years ago

2.0.9

7 years ago

2.0.8

7 years ago

2.0.6

7 years ago

2.0.5

7 years ago

2.0.4

7 years ago

3.0.0-beta.1

7 years ago

2.0.3

7 years ago

2.0.2-upd.1

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.8.4-upd.1

7 years ago

1.8.4

7 years ago