Skip to content

Commit ba9912e

Browse files
author
nicehashdev
committed
MONO compatibility
Added compatibility with MONO to run on Linux.
1 parent 4a428ca commit ba9912e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/NiceHashBotLib/LibConsole.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ public enum TEXT_TYPE
2020

2121
public static void OpenConsole()
2222
{
23+
#if !MONO
2324
AllocConsole();
25+
#endif
2426
}
2527

2628
public static void WriteLine(TEXT_TYPE Type, string Text)

0 commit comments

Comments
 (0)