0.3.2 • Published 10 years ago

electron-updater-tools v0.3.2

Weekly downloads
7
License
ISC
Repository
github
Last release
10 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

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago