-
Notifications
You must be signed in to change notification settings - Fork 554
urls
Electron Release Server provides a variety of urls to access release assets.
http://download.myapp.com/download/latest
http://download.myapp.com/download/latest/osx
http://download.myapp.com/download/1.1.0
http://download.myapp.com/download/1.2.0/osx
Note that only the file extension is used.
http://download.myapp.com/download/1.2.0/windows_64/MyApp-0.1.1-full.nupkg
http://download.myapp.com/download/channel/beta
http://download.myapp.com/download/channel/beta/osx
http://download.myapp.com/download/windows_32
http://download.myapp.com/download/windows_64
http://download.myapp.com/download/linux_32
http://download.myapp.com/download/linux_64
These are detailed separately for OSX and Windows.
When an update is not available, the update endpoints will return a 204 response. This happens when the version you are requesting is newer than or equal to the last available version on the server, but also when the appropriate file type is not present for Squirrel to be able to update your application (.zip
for Squirrel.Mac, .nupkg
for Squirrel.Windows).
http://download.myapp.com/notes/:version
These are detailed separately here.
If you are using HTTPS on your server be sure to configure the base URL (appUrl
) in config/local.js
to use it as well since by default the download URLs will come from HTTP even if the update URL has been called from HTTPS.