mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Moved the application updater execution slightly later in the startup process.
This commit is contained in:
parent
e95ff8b4b9
commit
5d5be42918
|
@ -693,14 +693,6 @@ int main(int argc, char* argv[])
|
|||
renderer = Renderer::getInstance();
|
||||
window = Window::getInstance();
|
||||
|
||||
#if defined(APPLICATION_UPDATER)
|
||||
std::unique_ptr<ApplicationUpdater> applicationUpdater;
|
||||
if (!noUpdateCheck) {
|
||||
applicationUpdater = std::make_unique<ApplicationUpdater>();
|
||||
applicationUpdater->checkForUpdates();
|
||||
}
|
||||
#endif
|
||||
|
||||
ViewController::getInstance();
|
||||
CollectionSystemsManager::getInstance();
|
||||
Screensaver screensaver;
|
||||
|
@ -712,6 +704,14 @@ int main(int argc, char* argv[])
|
|||
return 1;
|
||||
}
|
||||
|
||||
#if defined(APPLICATION_UPDATER)
|
||||
std::unique_ptr<ApplicationUpdater> applicationUpdater;
|
||||
if (!noUpdateCheck) {
|
||||
applicationUpdater = std::make_unique<ApplicationUpdater>();
|
||||
applicationUpdater->checkForUpdates();
|
||||
}
|
||||
#endif
|
||||
|
||||
window->pushGui(ViewController::getInstance());
|
||||
|
||||
if (Settings::getInstance()->getBool("SplashScreen"))
|
||||
|
|
Loading…
Reference in a new issue