Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.27 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.27 KB

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 nwjs/nw.js#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