This repository has been archived by the owner on Jun 29, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated electron and some other packages to latest
* Updated native\platform-util\rebuild.bat to infer the installed electron version * Added documentation on rebuilding win32*.node modules * Rebuilt win32*.node modules
- Loading branch information
Showing
7 changed files
with
39 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## Building | ||
|
||
Note, you will need to install node-gyp and depending your platform, other things to rebuild. | ||
|
||
The `rebuild.bat` file is a windows batch file. | ||
|
||
See [node-gyp installation](https://www.npmjs.com/package/node-gyp#installation) if you need to rebuild this. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
:init | ||
@echo off | ||
FOR /F "tokens=* USEBACKQ" %%i IN (`..\..\..\node_modules\electron\dist\electron.exe --version`) DO ( | ||
SET ELECTRON_VERSION=%%i | ||
) | ||
echo "Electron Version: %ELECTRON_VERSION%" | ||
|
||
:build | ||
@echo on | ||
call node-gyp rebuild --python=C:\Python27 --target=1.4.13 --arch=ia32 --dist-url=https://atom.io/download/electron | ||
call node-gyp rebuild --python=C:\Python27 --target=%ELECTRON_VERSION% --arch=ia32 --dist-url=https://atom.io/download/electron | ||
copy /Y .\build\Release\addon.node .\win32-ia32.node | ||
call node-gyp rebuild --python=C:\Python27 --target=1.4.13 --arch=x64 --dist-url=https://atom.io/download/electron | ||
|
||
call node-gyp rebuild --python=C:\Python27 --target=%ELECTRON_VERSION% --arch=x64 --dist-url=https://atom.io/download/electron | ||
copy /Y .\build\Release\addon.node .\win32-x64.node | ||
|
||
:exit |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters