More fixes to the new config. Module loader reworked

This commit is contained in:
2024-08-06 22:47:59 +03:00
parent 27e25a9166
commit 18a059af0e
51 changed files with 390 additions and 301 deletions

View File

@@ -71,7 +71,7 @@ public class Program
}
catch (Exception ex)
{
Application.CurrentApplication.Logger.Log(ex.ToString(), typeof(Program), LogType.Critical);
Application.Logger.Log(ex.ToString(), typeof(Program), LogType.Critical);
}
}
@@ -91,7 +91,7 @@ public class Program
return;
}
Application.CurrentApplication.Logger.SetOutFunction(AnsiConsole.MarkupLine);
Application.Logger.SetOutFunction(AnsiConsole.MarkupLine);
if (!Application.CurrentApplication.ApplicationEnvironmentVariables.ContainsKey("ServerID") ||