Chapter 14. Building applications for deployment

This chapter covers

  • Packaging your application for distribution
  • Setting a custom name and icon for your packaged application
  • Easily packaging applications containing transpiled code using Electron Forge
  • Building source code in Electron archives (asar)

Throughout this book, we’ve built several applications. We’ve started each of them the same way: open the terminal, navigate to the directory, and launch the application using npm. If you’ve downloaded any of my completed applications, then it’s likely that you went to the project on GitHub, cloned the repository, and installed its dependencies. This is all a bit tedious and—frankly—an unacceptable experience for our users. Our Electron applications ...

Get Electron in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.