diff --git a/Cobalt/dllmain.cpp b/Cobalt/dllmain.cpp index 8c69f50..33e5732 100644 --- a/Cobalt/dllmain.cpp +++ b/Cobalt/dllmain.cpp @@ -90,10 +90,12 @@ void InitializeExitHook() DWORD WINAPI Main(LPVOID) { +#ifdef SHOW_WINDOWS_CONSOLE AllocConsole(); FILE* fptr; freopen_s(&fptr, "CONOUT$", "w+", stdout); +#endif SHOW_WINDOWS_CONSOLE std::cout << "Initializing Cobalt (made by Milxnor#3531).\n"; diff --git a/Cobalt/settings.h b/Cobalt/settings.h index abdef52..959112f 100644 --- a/Cobalt/settings.h +++ b/Cobalt/settings.h @@ -2,4 +2,6 @@ #define URL_PROTOCOL "http" #define URL_HOST "127.0.0.1" -#define URL_PORT "3551" \ No newline at end of file +#define URL_PORT "3551" + +// #define SHOW_WINDOWS_CONSOLE \ No newline at end of file