Skip to content

Prototype Rust application update client using a modernized, Omaha-inspired protocol

Notifications You must be signed in to change notification settings

rhelmer/update-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update client

A standalone client for any type of update (data, binary, application, ...)

This client is intended to either run as a Windows service, or be started by the application. In either case, this client will establish an inter-process communication (IPC) channel to notify the application of available updates.

For the moment, the client simply uses stdin/stdout as the communications channel.

Getting started

Run an update server. The supported Update server is recommended, but any server that implements the update protocol will work.

Build and run.

cargo run

The client will attempt to connect to http://localhost:8000 and send an update request.

Update process

If updates are available, the client will attempt to download and apply them on the local system and send a "completion" document to the server.

In the future, the client will send an IPC message to the application indicating which update(s) have been applied and are ready to use.

For the moment, the message is returned on stdout.

If no updates are available, the client will exit if running in standalone mode. When running as an OS service is supported, the request will be re-tried at the configured interval.

Using the update client from your application.

The ./examples directory contains simple applications written in several popular programming languages that show how to use the Update client.

About

Prototype Rust application update client using a modernized, Omaha-inspired protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages