The purpose of this project is to provide the server-side requirements of the Squirrel.Mac auto-update system. Note that this bears little-to-no relation to the Squirrel.Windows framework, which doesn't require an active server.
Squirrel.Mac is intended to be integrated with an application. It facilitates the process of checking for, downloading and installing updates.
The flow goes something like this:
There is an existing Squirrel.Server, implemented in ruby. It wasn't sufficient for our case for the following reasons:
This server is dead simple. It sends a 204 response as appropriate, but otherwise just proxies json files hosted elsewhere It expects two parameters:
url - the json url to requestversion (optional) - the version of the installed applicationThe server performs the following steps:
urlversion field from the json response (which is actually ignored by Squrrel.Mac)version query parameter
The server makes to attempt to do any caching, since load should be fairly low.
docker build -t squirrel-server-go .
docker run -d -p 3000:3000 squirrel-server-go
Content type
Image
Digest
sha256:c3f4b1905…
Size
246.4 MB
Last updated
over 8 years ago
docker pull readytalk/squirrel-server-go