0.3.2 • Published 9 years ago

electron-updater-tools v0.3.2

Weekly downloads
7
License
ISC
Repository
github
Last release
9 years ago

electron-updater-tools

Tools for building native addons compatible with electron-updater

Usage

$ npm install electron-updater-tools -g
$ npm install electron-prebuilt -g
$ npm install bindings --save
$ elb configure

To build binaries compatible with node/iojs and electron on windows add the following to your binding.gyp file:

'include_dirs': [
  "<!(node -e \"require('electron-updater-tools')\")"        
],

And

'conditions' : [
  ['OS == "win"', {
    'libraries': [
      '-lShlwapi.lib'
    ],
    'msvs_settings': {
      'VCLinkerTool': {
          'DelayLoadDLLs': [ 'node.dll', 'iojs.exe', 'node.exe' ],
          # Don't print a linker warning when no imports from either .exe
          # are used.
          'AdditionalOptions': [ '/ignore:4199' ],
      }
    }
  }]
]

In your source somewhere add this line:

#include <delay_load_hook.h>

Now you can load your binaries into node/iojs or electron:

$ elb configure
$ iojs -p "require('bindings')('your-module-name')"
0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago