Fixed bug in PluginManager at getting info about plugin & new console commands

This commit is contained in:
2023-06-15 21:55:42 +03:00
parent 1665d47a25
commit a8c02176d3
6 changed files with 245 additions and 172 deletions

View File

@@ -174,8 +174,6 @@ public class Program
Console.WriteLine("Loading resources ...");
var main = new Utilities.Utilities.ProgressBar(ProgressBarType.NO_END);
main.Start();
if (Config.Data.ContainsKey("DeleteLogsAtStartup"))
if (Config.Data["DeleteLogsAtStartup"] == "true")
@@ -203,7 +201,6 @@ public class Program
var onlineSettingsList = await ServerCom.ReadTextFromURL(URLs["Versions"]);
main.Stop("Loaded online settings. Loading updates ...");
foreach (var key in onlineSettingsList)
{
if (key.Length <= 3 || !key.Contains(' ')) continue;
@@ -235,4 +232,4 @@ public class Program
Console.Clear();
}
}
}