Renew the updater branch

Now with some actual consensus on what the updater will do!
This commit is contained in:
Petr Mrázek 2013-12-02 00:55:24 +01:00
parent 613699b362
commit 6aa9bd0f77
118 changed files with 44913 additions and 45 deletions

View file

@ -20,6 +20,7 @@
#include "logic/net/HttpMetaCache.h"
#include "logic/JavaUtils.h"
#include "logic/GoUpdate.h"
#include "pathutils.h"
#include "cmdutils.h"
@ -138,6 +139,9 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv),
// load settings
initGlobalSettings();
// initialize the updater
m_go_update.reset(new GoUpdate());
// and instances
auto InstDirSetting = m_settings->getSetting("InstanceDir");
m_instances.reset(new InstanceList(InstDirSetting->get().toString(), this));