GlueUpdater

A simple cross-platform Qt-based updater software

GlueUpdater is an implementation of an auto-updating software to be used in Qt projects. It allows you to easily check for updates, download, and ‘install’ them.

GlueUpdater parses JSON data to determine what to download for the particular OS, and where to download and install the files downloaded. The updater JSON file should go on a server somewhere (with the address changed in the code in the Updater.cpp file, line 14), and look like the following:

The available operations are: “remove”, “add”, “update”, “move”, “mkdir”, and “change-log”.

– For “remove” the additional information should be listed in “file-location”.

– For “add” the additional information should be listed in “download-url”, “download-location”, and “extract-path”.

– For “update” the additional information should be listed in “download-url”, “download-location”, and “extract-path”.

– For “move” the additional information should be listed in “file-location”, and “file-move-location”.

– For “mkdir” the additional information should be listed in “directory-location”.

– For “change-log” the additional information should be listed in “change-log”

Commands are executed sequentially, so if you need a folder to exist before you move a file to it, first mkdir then move.

The MainWindow looks as follows:

The GlueUpdater window looks as follows:

And, the GlueUpdaterDialog looks as follows:

You can check out the whole project here: https://github.com/sanusbaum/GlueUpdater