nw.js - Implementing an auto-updater in your app?

164 Views Asked by At

I'd like to implement an auto-updater into my nw.js app. The app is Windows-only. I'm aware of these 4 options, all old:

  • nwjs-builder-phoenix - Archived in 2020
  • nw-autoupdater - Deprecated in 2020
  • nwjs-autoupdater - Not maintained since 2019
  • node-webkit-updater - Deprecated in 2014

Does anyone have opinions on these, or is anyone aware of other options? Usually I'd just go with the active project, but when none are active I'm finding it difficult to evaluate which way to go.

1

There are 1 best solutions below

2
Jaredcheeda On

Unfortunately this has always been weak spot in the ecosystem. Primarily because the idea of an auto-updater relies heavily on the structure of your project and how you package it. There's no one general way that would work for everyone. This old GitHub post has many people supplying their own solutions:

Your post has helped to inspire me to create a mock up for a potential library to solve this problem. You can review the current API proposal and add comments in a GitHub issue or on Gitter.