1
0
mirror of synced 2024-11-28 09:30:51 +01:00

impr: Print welcome message as fast as possible

This commit is contained in:
WerWolv 2023-07-15 00:11:48 +02:00
parent aae3004f1f
commit f4ae1fda6d

View File

@ -30,6 +30,9 @@ void loadPlugins() {
int main(int argc, char **argv, char **envp) { int main(int argc, char **argv, char **envp) {
Window::initNative(); Window::initNative();
log::info("Welcome to ImHex {}!", ImHexApi::System::getImHexVersion());
log::info("Compiled using commit {}@{}", ImHexApi::System::getCommitBranch(), ImHexApi::System::getCommitHash());
hex::crash::setupCrashHandlers(); hex::crash::setupCrashHandlers();
hex::unused(envp); hex::unused(envp);
@ -59,10 +62,6 @@ int main(int argc, char **argv, char **envp) {
// Initialization // Initialization
{ {
log::info("Welcome to ImHex {}!", ImHexApi::System::getImHexVersion());
log::info("Compiled using commit {}@{}", ImHexApi::System::getCommitBranch(), ImHexApi::System::getCommitHash());
init::WindowSplash splashWindow; init::WindowSplash splashWindow;
// Add initialization tasks to run // Add initialization tasks to run