/// <summary> /// The overlay plugin settings. /// </summary> /// <param name="pluginPath"> /// The plugin Path. /// </param> private void OverlayPluginSettings(string pluginPath) { if (PluginAssemblies.Count == 0) { PluginLogger.LogInfo("No plugins detected so no pluginsettings to overlay"); } foreach (var assembly in PluginAssemblies) { var locations = GetPluginSettingsPaths(pluginPath, assembly); foreach (var settingsFile in locations) { if (!File.Exists(settingsFile)) { PluginLogger.LogDebug($"Skipping plugin settings file [{settingsFile}]: It does not exist"); continue; } if (!PerformOverlay(settingsFile)) { PluginLogger.LogFail("OverlayPluginSettings", $"Failed to overlay [{settingsFile}]. Check config file"); } } } }