diff --git a/es-app/src/main.cpp b/es-app/src/main.cpp index 78181f240..b365212ff 100644 --- a/es-app/src/main.cpp +++ b/es-app/src/main.cpp @@ -791,17 +791,17 @@ int main(int argc, char* argv[]) lastTime = SDL_GetTicks(); +#if defined(APPLICATION_UPDATER) + if (ApplicationUpdater::getInstance().getResults()) + ViewController::getInstance()->updateAvailableDialog(); +#endif + LOG(LogInfo) << "Application startup time: " << std::chrono::duration_cast( std::chrono::system_clock::now() - applicationStartTime) .count() << " ms"; -#if defined(APPLICATION_UPDATER) - if (ApplicationUpdater::getInstance().getResults()) - ViewController::getInstance()->updateAvailableDialog(); -#endif - // Open the input configuration GUI if the force flag was passed from the command line. if (forceInputConfig) { ViewController::getInstance()->cancelViewTransitions();