From fe11a9745842073800a3a3630261003b25cd1926 Mon Sep 17 00:00:00 2001 From: benbierens Date: Thu, 2 Nov 2023 14:25:17 +0100 Subject: [PATCH] Fixes initialization issue for deployments monitor --- Tools/BiblioTech/DeploymentsFilesMonitor.cs | 2 +- Tools/BiblioTech/Program.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Tools/BiblioTech/DeploymentsFilesMonitor.cs b/Tools/BiblioTech/DeploymentsFilesMonitor.cs index c06139f..9278574 100644 --- a/Tools/BiblioTech/DeploymentsFilesMonitor.cs +++ b/Tools/BiblioTech/DeploymentsFilesMonitor.cs @@ -8,7 +8,7 @@ namespace BiblioTech { private readonly List deployments = new List(); - public DeploymentsFilesMonitor() + public void Initialize() { LoadDeployments(); } diff --git a/Tools/BiblioTech/Program.cs b/Tools/BiblioTech/Program.cs index 290cad2..ecd9147 100644 --- a/Tools/BiblioTech/Program.cs +++ b/Tools/BiblioTech/Program.cs @@ -21,6 +21,8 @@ namespace BiblioTech var uniformArgs = new ArgsUniform(PrintHelp, args); Config = uniformArgs.Parse(); + DeploymentFilesMonitor.Initialize(); + EnsurePath(Config.DataPath); EnsurePath(Config.UserDataPath); EnsurePath(Config.EndpointsPath);