Skip to content

cws1989/software-updater

Repository files navigation

Software Updater

Click here to view the detail wiki.

Menu

Overview

Software Updater is a software/library that do software updating. It contains a library that do patch creating, downloading and patching. Besides, there is a GUI interface provided that utilize the library to do software updating.

This software is divided into four parts. They are:

  1. Builder - create patches, update catalog etc.
  2. Launcher - do patching and launch the software
  3. Downloader - check and download patches from the Internet
  4. Self-Updater - utility used to patch the launcher

Basically self-updater is part of the launcher so there actually contain only three parts. Launcher and downloader will be distributed accompany with your software and builder will reside in your computer. Because the downloader needs to download the patches through the Internet, so you have to prepare an Internet host space to put the patches.

Features

Software Updater is not simple a 'download and replace files' updater, it do much more to make:

  1. Minimize download size
  2. Ensure integrity
  3. Rollback when update failed
  4. Resumable download and update
  5. Block unauthorized access
  6. Minimize garbage files
  7. Minimize the effort to create patches

Click here for details.

Simple Example

Click here to read the generic text version.

https://www.youtube.com/watch?v=UfLkDaTIkQs

Screenshots

Launcher

Launcher

Q&A: How do I change the titles and icons of the launcher?

Patch Downloader

PatchDownloader

Q&A: How do I change the titles and icons of the downloader?

Planning

Plans to do in future

  1. Support different encryption & checksum method.
  2. Send back error report through web.
  3. Besides providing aes key and iv for patch in catalog, provide another way to get from the invoker (command line or Java function).
  4. Provide command line interactive for downloader and launcher.
  5. Make GUI for builder.
  6. Execute script before/after upgrading.

Support & Discussion

Support & Discussion Group

Google Project

https://code.google.com/archive/p/software-updater/

About

A software updater in Java

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages