Skip to content

Commit

Permalink
Will now close automatically when no error occurred
Browse files Browse the repository at this point in the history
  • Loading branch information
Firewolf1337 committed Sep 1, 2023
1 parent 4d321bb commit 838dcb1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions RCRUpdater/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}


Expand All @@ -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
Expand All @@ -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();

}
}
}

0 comments on commit 838dcb1

Please sign in to comment.