From 838dcb137dd86bf6ad5b38ef75e3901bc86ab623 Mon Sep 17 00:00:00 2001 From: Firewolf1337 <18141890+Firewolf1337@users.noreply.github.com> Date: Fri, 1 Sep 2023 16:54:46 +0200 Subject: [PATCH] Will now close automatically when no error occurred --- RCRUpdater/Program.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/RCRUpdater/Program.cs b/RCRUpdater/Program.cs index 276598a..0ffe1fc 100644 --- a/RCRUpdater/Program.cs +++ b/RCRUpdater/Program.cs @@ -35,6 +35,8 @@ static void Main(string[] args) { Console.WriteLine("Step killing Planner files error:"); Console.WriteLine(ex.Message); + Console.WriteLine("Press Enter to continue."); + Console.ReadKey(); } @@ -52,6 +54,8 @@ static void Main(string[] args) { Console.WriteLine("Step moving files error:"); Console.WriteLine(ex.Message); + Console.WriteLine("Press Enter to continue."); + Console.ReadKey(); } } try @@ -62,12 +66,13 @@ static void Main(string[] args) { Console.WriteLine("Step deleting temp folder error:"); Console.WriteLine(ex.Message); + Console.WriteLine("Press Enter to continue."); + Console.ReadKey(); } Process.Start(updatePath + "\\" + updateFileName, "/noAutostart"); - Console.WriteLine("Press any key to continue."); - Console.ReadKey(); + } } }