The Launcher Application
In order to simplify integration with GUI applications, we propose the use of a launcher application. This launcher will become the entry point of your application, and will execute the update client, followed by your application.
Integration with the Thistle Update Client
The Thistle update client should enable the optional configuration optionstop_after_download
. This configuration option will allow the update client to run only one time (no continuous mode of operation) - and it will make the updater stop after downloading the update payload, allowing you to inform users, and let them restart the application.
Example for Windows
In this example we will update a Windows graphical program using the Thistle update client, and a launcher. In this example the program consists of a single binaryprogram.exe
already prepared in the release
directory. We also have the binaries for the release helper at hand, as well as the launcher program and the update client.
./
. We can now prepare and upload our release.
stop_after_download
.
config.json
. We also copy the manifest.json
in order to tell the update client what is the current version of the release being distributed.
bundle
. The program should be executed directly with the launcher, so that subsequent updates can be downloaded and installed.