Electron Release Server acts as a backend for Squirrel.Windows. To use it, configure your Update.exe or Squirrel.Windows instance to use the following feed URL format (without query parameters):
http://download.myapp.com/update/win32/:version/:channel
URL Patterns and Defaults
The server serves NuGet packages via several endpoint patterns. If parameters are omitted, the following defaults apply:
- Channel: If not specified,
stable is used. - Flavor: If not specified,
default is used. - Architecture: If
win64 is requested but only win32 assets exist, the win32 assets will be served.
Available Endpoint Patterns:
http://download.myapp.com/update/win32/:version/RELEASEShttp://download.myapp.com/update/win64/:version/RELEASEShttp://download.myapp.com/update/win32/:version/:channel/RELEASEShttp://download.myapp.com/update/win64/:version/:channel/RELEASEShttp://download.myapp.com/update/flavor/:flavor/win32/:version/RELEASEShttp://download.myapp.com/update/flavor/:flavor/win64/:version/RELEASEShttp://download.myapp.com/update/flavor/:flavor/win32/:version/:channel/RELEASEShttp://download.myapp.com/update/flavor/:flavor/win64/:version/:channel/RELEASES
Note: You can use windows_32 instead of win32 and windows_64 instead of win64 if desired.
Required Assets
You must upload the -full.nupkg files (generated by electron-builder or Squirrel.Windows releaser) as release assets. The server will automatically generate the RELEASES file for you.
http://download.myapp.com/update/win32/:version/:channel