Create SparkleUpdater
class for access from Qt/C++
To actually get automatic updates going, all that needs to happen is that `SparkleUpdater` needs to be initialized. The rest of the functions can be connected to elements in the UI.
This commit is contained in:
parent
7eb61a28be
commit
ea4ef1655b
4 changed files with 340 additions and 0 deletions
|
@ -544,6 +544,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
|
|||
{
|
||||
m_settings.reset(new INISettingsObject(BuildConfig.LAUNCHER_CONFIGFILE, this));
|
||||
// Updates
|
||||
// Multiple channels are separated by spaces
|
||||
m_settings->registerSetting("UpdateChannel", BuildConfig.VERSION_CHANNEL);
|
||||
m_settings->registerSetting("AutoUpdate", true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue