Skip to content
Lucas Liza edited this page May 28, 2015 · 2 revisions

Limitations

Current Platform Possible
Win Mac ➖
Win Linux ➖
Win Win ✔️
Linux Mac ➖
Linux Linux ✔️
Linux Win ✔️
Mac Mac ✔️
Mac Linux ➖
Mac Win ✔️

The resulting application will be placed in the folder dist/

Linux

Building

$ grunt dist-linux # 64-bit.
$ grunt dist-linux32 # 32-bit.

The dist can be a deb or a rpm package. For creation we use the tool checkinstall.

Running

$ cd dist
$ ./node-webkit app.nw

Mac

Building

$ grunt dist-mac # 64-bit.
$ grunt dist-mac32 # 32-bit.

The dist is dmg file. For creation the tools hdiutil and osascript are necessary. This works only on a Mac.

Running

$ dist/MacOS64/app.nw/Contents/MacOS/node-webkit

Windows

Building

$ grunt dist-win

The dist is only a .exe file that is copied together from the sources. This is implemented in a platform independent way.

Clone this wiki locally