Please make sure you followed the Build pre-requisites before using this document.
In order to build the actual app you need first to build all core files. This step is normally needed only once and after an update of the core files. This could be done with the following command:
npm run build-core
To compile the binary launcher run the build script with the following command:
npm run build-nw_app
To compile the packed binary version run the build script with the following command:
npm run publish-nw_app-mac
The build version will be compiled in the /dist/binary/osx64
directory, together with all required packages and files.
Go into the /dist/binary/osx64
directory and double click on the binary
file.
Run ulimit -n 1024
and add it into ~/.bash_profile
.