|
@ -6,6 +6,7 @@ using Mono.Cecil; |
|
|
using Mono.Cecil.Cil; |
|
|
using Mono.Cecil.Cil; |
|
|
using System; |
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
|
|
|
using System.Linq; |
|
|
using System.IO; |
|
|
using System.IO; |
|
|
using System.Reflection; |
|
|
using System.Reflection; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
@ -26,7 +27,8 @@ namespace IPA.Injector |
|
|
|
|
|
|
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
Windows.WinConsole.Initialize(); |
|
|
|
|
|
|
|
|
if (!Environment.GetCommandLineArgs().Contains("--no-console")) |
|
|
|
|
|
Windows.WinConsole.Initialize(); |
|
|
|
|
|
|
|
|
SetupLibraryLoading(); |
|
|
SetupLibraryLoading(); |
|
|
|
|
|
|
|
|