mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Web build not properly starting up anymore
This commit is contained in:
@@ -45,7 +45,12 @@
|
||||
auto &splashWindow = *reinterpret_cast<std::unique_ptr<init::WindowSplash>*>(arg);
|
||||
|
||||
const auto result = splashWindow->loop();
|
||||
if (result == true) {
|
||||
|
||||
// If no result was returned yet, keep looping
|
||||
if (!result.has_value())
|
||||
return;
|
||||
|
||||
if (*result) {
|
||||
handleFileOpenRequest();
|
||||
|
||||
// Clean up everything after the main window is closed
|
||||
|
||||
Reference in New Issue
Block a user