From f9b6f4b1d6fbf2867754cd4263e74eaeac6e65d6 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Thu, 2 Aug 2018 15:02:39 -0500 Subject: [PATCH] Added better '--nowait' compatablility for IPA.exe --- IPA/Program.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/IPA/Program.cs b/IPA/Program.cs index a4614ac9..ea246646 100644 --- a/IPA/Program.cs +++ b/IPA/Program.cs @@ -203,10 +203,13 @@ namespace IPA { } - Console.ForegroundColor = ConsoleColor.Green; - Console.WriteLine("Finished!"); - Console.ResetColor(); - Console.ReadLine(); + if (!Environment.CommandLine.Contains("--nowait")) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Finished!"); + Console.ResetColor(); + Console.ReadLine(); + } } private static void Revert(PatchContext context, string[] args = null) {