open console early

This commit is contained in:
ConfiG 2023-06-09 18:11:35 +03:00
parent e156f361b6
commit 7f772e9bee
No known key found for this signature in database
GPG key ID: 44DA1983F524C11B

View file

@ -218,6 +218,11 @@ int geodeEntry(void* platformData) {
return 1;
}
// open console
if (Mod::get()->getSettingValue<bool>("show-platform-console")) {
Loader::get()->openPlatformConsole();
}
// set up loader, load mods, etc.
auto setupRes = LoaderImpl::get()->setup();
if (!setupRes) {
@ -233,11 +238,6 @@ int geodeEntry(void* platformData) {
log::info("Set up loader");
// open console
if (Mod::get()->getSettingValue<bool>("show-platform-console")) {
Loader::get()->openPlatformConsole();
}
// download and install new loader update in the background
if (Mod::get()->getSettingValue<bool>("auto-check-updates")) {
LoaderImpl::get()->checkForLoaderUpdates();