This repo contains the bare minimum code to have an auto-updating Electron app using electron-updater
with releases stored on a plain HTTP server.
-
For macOS, you will need a code-signing certificate.
Install Xcode (from the App Store), then follow these instructions to make sure you have a "Mac Developer" certificate. If you'd like to export the certificate (for automated building, for instance) you can. You would then follow these instructions.
-
Setting you Gitlab-CI and edit package.json build scripts fron your platforms
-
Pushing new code, and install last build
-
Open the installed version of the app and see that it updates itself.
This worked for me, it is important to keep in mind that the normal download Gitlab urls will not work for Electron Updater, but the API ones will.