Browse Source

Added a way to disable the console

pull/1/head
Anairkoen Schno 6 years ago
parent
commit
e722217777
4 changed files with 6 additions and 1 deletions
  1. +1
    -0
      BSIPA.sln
  2. +3
    -1
      IPA.Injector/Injector.cs
  3. +2
    -0
      README.md
  4. BIN
      Refs/UnityEngine.CoreModule.dll

+ 1
- 0
BSIPA.sln View File

@ -36,6 +36,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{4D6639A2-BD39-4F9B-AF7F-8E5F3B88243D}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
README.md = README.md
EndProjectSection
EndProject
Global


+ 3
- 1
IPA.Injector/Injector.cs View File

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


+ 2
- 0
README.md View File

@ -12,6 +12,8 @@ Beat Saber IPA - The mod injector tailored for Beat Saber
A console window should open before the game starts if the installation was successful.
To disable this console window, pass `--no-console` to the game.
## How To Uninstall
1. Drag & drop the game exe onto **IPA.exe** while holding <kbd>Alt</kbd>


BIN
Refs/UnityEngine.CoreModule.dll View File


Loading…
Cancel
Save