show splash screen on Linux (#5050)

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
Jamin Collins 2024-04-21 03:08:26 -06:00 committed by GitHub
parent 2b4520b2df
commit 72029df558
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2273,9 +2273,7 @@ bool GUI_App::on_init_inner()
BOOST_LOG_TRIVIAL(info) << "begin to show the splash screen...";
//BBS use BBL splashScreen
scrn = new SplashScreen(bmp, wxSPLASH_CENTRE_ON_SCREEN | wxSPLASH_TIMEOUT, 1500, splashscreen_pos);
#ifndef __linux__
wxYield();
#endif
scrn->SetText(_L("Loading configuration")+ dots);
}