diff --git a/es-app/src/main.cpp b/es-app/src/main.cpp index 43c942993..0d5b1efd3 100644 --- a/es-app/src/main.cpp +++ b/es-app/src/main.cpp @@ -693,14 +693,6 @@ int main(int argc, char* argv[]) renderer = Renderer::getInstance(); window = Window::getInstance(); -#if defined(APPLICATION_UPDATER) - std::unique_ptr applicationUpdater; - if (!noUpdateCheck) { - applicationUpdater = std::make_unique(); - 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; + if (!noUpdateCheck) { + applicationUpdater = std::make_unique(); + applicationUpdater->checkForUpdates(); + } +#endif + window->pushGui(ViewController::getInstance()); if (Settings::getInstance()->getBool("SplashScreen"))