Skip to content

Commit 783b6ec

Browse files
committed
Update version to 1.1.6 and enhance console output
- Added `AllocConsole()` to allocate a new console. - Redirected standard output to the console using `freopen`.
1 parent 83b9048 commit 783b6ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ErScripts/main.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "ErScripts.h"
55
#include "Overlay.h"
66

7-
#define APP_VERSION "1.1.5"
7+
#define APP_VERSION "1.1.6"
88

99
int main() {
1010
if (!IsDebuggerPresent()) {
@@ -23,6 +23,8 @@ int main() {
2323
}
2424
}
2525

26+
AllocConsole();
27+
freopen("CONOUT$", "w", stdout);
2628
Logger::EnableANSIColors();
2729

2830
/* Check if program already running */

0 commit comments

Comments
 (0)