mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-04 09:08:42 +00:00
Renew the updater branch
Now with some actual consensus on what the updater will do!
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user