makensis-nw-dist

2.1.3 • Public • Published

Motivation

This is a makensis based (very simple) alternative to nw-builder

Version License Available platform

Executable name

Node webkit executable (nw.exe) must be named "as it" since renaming it break natives modules See https://github.com/nwjs/nw.js/issues/199

API

    process.env.OUTFILE = grunt.config('setup_path');
    var done = this.async();

    var root_path = "release";
      release/app/package.json (your nw app)
      release/app/node-webkit/nw.exe  (your nw exe path - see [nwjs-binaries](https://www.npmjs.com/package/nwjs-binaries) )

    makensis(root_path, { 
      MUI_ICON : path.join(root_path, "app/skin/logo.ico"),
      MUI_UI_HEADERIMAGE_RIGHT : path.join(root_path, "app/skin/logo_256.png"),
      MUI_WELCOMEFINISHPAGE_BITMAP : path.join(root_path, "app/skin/installer-image.bmp"),
      MUI_PAGE_LICENSE : path.join(root_path, "app/LICENSE"),
    }, done);

Credits

Package Sidebar

Install

npm i makensis-nw-dist

Weekly Downloads

6

Version

2.1.3

License

ISC

Unpacked Size

7.8 kB

Total Files

5

Last publish

Collaborators

  • 131