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.
Thank you @Slauta , that works perfectly.
Just one more question, your script allow to build and manage updates for Windows, but can we do it also with Linux and OSX ?
I suppose we can use separate runners on Gitlab and change the url depending of the OS.
But maybe I miss something...