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.
Attention! This code is deprecated.
This approach doesn't work well because the gitlab token often expires.
This approach is not safe for your code.
Please use the approaches described in the article Updating Applications