update to display the changelogs for application when an update was found
This commit is contained in:
@@ -220,6 +220,9 @@ public class Program
|
|||||||
if(newVersion != currentVersion)
|
if(newVersion != currentVersion)
|
||||||
{
|
{
|
||||||
Console.WriteLine("A new updated was found. Check the changelog for more information.");
|
Console.WriteLine("A new updated was found. Check the changelog for more information.");
|
||||||
|
List<string> changeLog = await ServerCom.ReadTextFromURL(URLs["Changelog"]);
|
||||||
|
foreach (var item in changeLog)
|
||||||
|
Utilities.Utilities.WriteColorText(item);
|
||||||
Console.WriteLine("Current version: " + currentVersion);
|
Console.WriteLine("Current version: " + currentVersion);
|
||||||
Console.WriteLine("Latest version: " + newVersion);
|
Console.WriteLine("Latest version: " + newVersion);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user