At this point, you should be clear about how the various parties involved in the implementation of an NW.js application fit together. Then, we can finally proceed with the packaging for the various platforms.
The packaging process can be simplified through the use of automated packaging tools. However, considering that NW.js is constantly evolving and that we cannot always be sure that the tool we have chosen for packaging is up to date with the version of NW.js in use, I believe it is appropriate to devote an entire chapter to the manual process of packaging.
In this chapter, we will look at the entire flow of packaging, step by step, which can be summarized in the following points:
Customizing the manifest file
The general logic behind packaging for multiple platforms
Creating and customizing platform-specific configuration files
Associating an icon with the application
Protecting the code
A brief digression on the licensing issue