O'Reilly logo

Developing an Electron Edge by Max Gfeller, Troy Mott, Adam Lynch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Automatic Updates

You don’t want to just release your app and leave it at that. You should improve it. You may want to notify all of your users that a new version is released, hoping they will download it and install it themselves. This is awkward and very few people will bother. This isn’t viable, but updates can be critical.

In this chapter, we compare a few different approaches to updates, including a few custom approaches, along with using the Mac App Store, as well as Electron’s own built-in auto-updater. You’ll see how to integrate the updater into your app via client-side hooks and events, as well as figuring out the server side setup for updates. The approach to the server side will vary between platforms, but each are clever ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required