public void PrintUpdateInfo() { if (Program.Options.UpdateVerb.Force == false) { Console.WriteLine("Update.NewUpdateAvailable".Translate() + ":" + Environment.NewLine); Console.WriteLine("\t" + "Update.Version".Translate() + ": " + LatestRelease.Version); renderUpdateNotes(LatestRelease.Notes); } if (Program.Options.UpdateVerb.NoConfirm || Program.Options.UpdateVerb.Force) { DownloadLastRelease(); return; } ConsoleKey key; do { ClearLastLine(); Console.WriteLine(); Console.Write("Update.DoYouWantToUpdate".Translate(BytesHelper.ToString(LatestRelease.Size)) + " [y/n] "); key = Console.ReadKey().Key; Console.WriteLine(); if (key == ConsoleKey.Y) { Console.WriteLine(); DownloadLastRelease(); } } while (key != ConsoleKey.Y && key != ConsoleKey.N); }