The process of packaging your application for Ubuntu doesn't differ much from that of macOS. Let's get started:
- You need to provide an application identifier and a category in the linux section of the package.json file:
{ "build": { "appId": "com.my.app.id", "linux": { "category": "Utility" } } }
Please note that you can declare settings for Linux alongside those for other platforms, which is handy when you're developing for multiple operating systems or switching between them. The same applies to the scripts section. In this book, we are going to use different script names so that you can merge them into a single configuration.
- Update your package.json file and append the following scripts to it so that you can build ...