#include"MultiMC.h"#include"BuildConfig.h"#include"MainWindow.h"#include"InstanceWindow.h"#include"groupview/AccessibleGroupView.h"#include<QAccessible>#include"pages/BasePageProvider.h"#include"pages/global/MultiMCPage.h"#include"pages/global/MinecraftPage.h"#include"pages/global/JavaPage.h"#include"pages/global/LanguagePage.h"#include"pages/global/ProxyPage.h"#include"pages/global/ExternalToolsPage.h"#include"pages/global/AccountListPage.h"#include"pages/global/PasteEEPage.h"#include"pages/global/CustomCommandsPage.h"#include"themes/ITheme.h"#include"themes/SystemTheme.h"#include"themes/DarkTheme.h"#include"themes/BrightTheme.h"#include"themes/CustomTheme.h"#include"setupwizard/SetupWizard.h"#include"setupwizard/LanguageWizardPage.h"#include"setupwizard/JavaWizardPage.h"#include"setupwizard/AnalyticsWizardPage.h"#include<iostream>#include<QDir>#include<QFileInfo>#include<QNetworkAccessManager>#include<QTranslator>#include<QLibraryInfo>#include<QList>#include<QStringList>#include<QDebug>#include<QStyleFactory>#include"dialogs/CustomMessageBox.h"#include"InstanceList.h"#include<minecraft/auth/MojangAccountList.h>#include"icons/IconList.h"#include"net/HttpMetaCache.h"#include"Env.h"#include"java/JavaUtils.h"#include"updater/UpdateChecker.h"#include"tools/JProfiler.h"#include"tools/JVisualVM.h"#include"tools/MCEditTool.h"#include<xdgicon.h>#include"settings/INISettingsObject.h"#include"settings/Setting.h"#include"translations/TranslationsModel.h"#include<Commandline.h>#include<FileSystem.h>#include<DesktopServices.h>#include<LocalPeer.h>#include<ganalytics.h>#include<sys.h>#include"pagedialog/PageDialog.h"#if defined Q_OS_WIN32#ifndef WIN32_LEAN_AND_MEAN#define WIN32_LEAN_AND_MEAN#endif#include<windows.h>#include<stdio.h>#endif#define STRINGIFY(x) #x#define TOSTRING(x) STRINGIFY(x)staticconstQLatin1StringliveCheckFile("live.check");usingnamespaceCommandline;#define MACOS_HINT "If you are on macOS Sierra, you might have to move MultiMC.app to your /Applications or ~/Applications folder. "\ "This usually fixes the problem and you can move the application elsewhere afterwards.\n"\ "\n"staticvoidappDebugOutput(QtMsgTypetype,constQMessageLogContext&context,constQString&msg){constchar*levels="DWCFIS";constQStringformat("%1 %2 %3\n"