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.
The way to upgrade NPM inside docker image (if nuxt.js fails):
script:
- sed "s/0.0.0/${VERSION_ID}/g" package.json > _package.json && mv _package.json package.json
- npm cache clean -f && npm install -g n && n stable
- npm install && npm run build