Update your electron app without downloading the whole installer.
-
Upload your program files to your server, including package.json.
-
Make a file list like this.
-
Refer to the code in this project, especially js/update.js.
-
The updater cannot work with asar.
-
If the program is installed in C:\Program Files, the updater will not be able to work unless the user runs it as administrator.
MIT.