A node web server which serves & manages releases of your Electron App, and is fully compatible with Squirrel Auto-updater (which is built into Electron).
Note: Despite being advertised as a release server for Electron applications, it would work for any application using Squirrel.
If you host your project on your Github and do not need a UI for your app, then Nuts is probably what you're looking for. Otherwise, you're in the same boat as I was, and you've found the right place!
IMPORTANT:
1.6.0
has broken all electron-release-server
versions prior to 1.4.2
. Please use the instructions under the Maintenance
heading below to update your fork! Sorry for the inconvenience.1.5.0
several models have changed to accommodate new features. Please use the instructions under Migration to update your database! Sorry for the inconvenience.404
by default):/download/latest
/download/latest/:platform
/download/:version
/download/:version/:platform
/download/:version/:platform/:filename
/download/channel/:channel
/download/channel/:channel/:platform
/download/flavor/:flavor/latest
/download/flavor/:flavor/latest/:platform
/download/flavor/:flavor/:version
/download/flavor/:flavor/:version/:platform
/download/flavor/:flavor/:version/:platform/:filename
/download/flavor/:flavor/channel/:channel
/download/flavor/:flavor/channel/:channel/:platform
beta
, alpha
, ...)/update/:platform/:version[/:channel]
/update/flavor/:flavor/:platform/:version[/:channel]
*.dmg
and *.zip
*.exe
and *.nupkg
.zip
for Squirrel.Mac, .nupkg
for Squirrel.Windows, .dmg
for Mac users, .../notes/:version/:flavor?
NOTE: if you don't provide the appropriate type of file for Squirrel you won't be able to update your app since the update endpoint will not return a JSON. (.zip
for Squirrel.Mac, .nupkg
for Squirrel.Windows).
Follow our guide to deploy Electron Release Server.
This server provides an endpoint for Squirrel auto-updater, it supports both OS X and Windows.
Check out the documentation for more details.
I highly recommend using electron-builder for packaging & releasing your applications. Once you have built your app with that, you can upload the artifacts for your users right away!
You should keep your fork up to date with the electron-release-server master.
Doing so is simple, rebase your repo using the commands below.
git remote add upstream https://github.com/ArekSredzki/electron-release-server.git
git fetch upstream
git rebase upstream/master
This project has been built from the Sails.js up by Arek Sredzki, with inspiration from nuts.