Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.56 KB

update-windows.md

File metadata and controls

25 lines (19 loc) · 1.56 KB

Auto-updater on Windows

Electron Release Server provides a backend for the Squirrel.Windows auto-updater.

Refer to the Squirrel.Windows documentation on how to setup your application.

Electron Release Server will serve NuGet packages on the following endpoints:

http://download.myapp.com/update/win32/:version/RELEASES
http://download.myapp.com/update/win64/:version/RELEASES
http://download.myapp.com/update/win32/:version/:channel/RELEASES
http://download.myapp.com/update/win64/:version/:channel/RELEASES
http://download.myapp.com/update/flavor/:flavor/win32/:version/RELEASES
http://download.myapp.com/update/flavor/:flavor/win64/:version/RELEASES
http://download.myapp.com/update/flavor/:flavor/win32/:version/:channel/RELEASES
http://download.myapp.com/update/flavor/:flavor/win64/:version/:channel/RELEASES

If the channel is not specified, then stable will be used. If the flavor is not specified, then default will be used. If win64 is used but only a win32 asset is available, it will be used.

Note: If desired, you can use windows_32 instead of win32 and windows_64 instead of win64.

You'll just need to configure your Update.exe or Squirrel.Windows to use http://download.myapp.com/update/win32/:version/:channel as a feed URL without query parameters.

You'll just need to upload as release assets: -full.nupkg (files generated by electron-builder or Squirrel.Windows releaser).

The RELEASES file will be generated for you :)