Skip to content

cmerighi/Pacem.Apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pacem.Apps

Ongoing implementation of a Squirrel release server (mostly for Electron applications), written in ASP.Net 6.0.

The Big Picture

This WebApp aims to provide the endpoints that your Squirrel-powered app needs in order to:

  • check for updates;
  • download the updates;
  • check for version existence.

As you can see through the code, this default implementation exploits the Azure Blob Storage and their API.

Currently tested on Windows platform only.

Check-for-Updates endpoint

Route:

/releases/{product}/{platform}/{architecture}/{version}/updates/RELEASES

When using autoUpdater in your application, just set:

// ReleaseServer/releases/{product}/{platform}/{arch}/{currentAppVersion}/updates
autoUpdater.setFeedURL('https://server/releases/my-sensational-app/win32/x64/0.0.1/updates');

Check-for-Version endpoint

Route:

/check/{product}/{platform}/{architecture}/{version}

Returns a 200 status if the version exists, otherwise a 404.

This endpoint is not related to a Squirrel-relevant use case

Nevertheless it might be useful (e.g. for decision-making checks in a DevOps release pipeline).

Full-Download endpoint

Route:

/download/{product}/{platform}/{architecture}

Redirects to the full download url (e.g: .exe) of the product's latest version.
If no matching app is found, you get a 404.

About

Squirrel release server implementation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published