Hi, I've been using NWJS in production for 6+ years, and I love it. So, first of all, thanks for everything!
One of the next projects on my plate is a nice auto-update mechanism for my project, and I'm trying to find the best approach to that problem, in 2021, with modern Windows and MacOS distribution requirements. (Linux would be a nice bonus too, but not essential in my case.)
I currently build a DMG installer for MacOS and an InnoSetup installer on Windows. The installers are code-signed on both platforms, and on MacOS, the installer is also notarized with Apple. Whenever we release a new version of our app, the existing app prompts the user to download a new installer, and they have to go through the whole installation process from scratch.
Ideally, I'd like the option of distributing an update that includes only the application data (javascript, CSS, and image assets, without the NWJS binaries). And I'd like the option to apply that update silently in the background, with minimal user interaction, like I see in VSCode or Slack, or other Electron apps... Does anyone know how to accomplish that?
The NWJS docs point to several projects for handling auto-update, but most of them are 5+ years old, and none of them mention anything about building, installing, code-signing, notarizing, etc...
Does anyone have an approach that they're happy with, and willing to share the details?
Benji