Book Image

NW.js Essentials

Book Image

NW.js Essentials

Overview of this book

If you are an experienced Node.js developer who wants to create amazing desktop applications using NW.js, this is the book for you. Prior knowledge of HTML5, jQuery, and CSS is assumed.
Table of Contents (11 chapters)
10
Index

Chapter 6. Packaging Your Application for Distribution

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...