mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-11-15 02:30:15 +01:00
Hide console on Release configuration. (#244)
This commit is contained in:
1 parent
c78c2010a3
commit
9fea5f9e4c
7 files changed
+31
-1
No files matched your search
@@ -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