mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-06 03:29:55 -06:00
Hide console on Release configuration. (#244)
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <kernel/function.h>
|
||||
#include <kernel/heap.h>
|
||||
#include <user/paths.h>
|
||||
#include <os/process.h>
|
||||
#include <xxHashMap.h>
|
||||
|
||||
enum class ModType
|
||||
@@ -115,6 +116,9 @@ void ModLoader::Init()
|
||||
ModLoader::s_saveFilePath /= "SYS-DATA";
|
||||
}
|
||||
|
||||
if (configIni.getString("CPKREDIR", "LogType", std::string()) == "console")
|
||||
os::process::ShowConsole();
|
||||
|
||||
std::string modsDbIniFilePathU8 = configIni.getString("CPKREDIR", "ModsDbIni", "");
|
||||
if (modsDbIniFilePathU8.empty())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user