Exemplo n.º 1
0
    public void CheckRecommendedIntegrations()
    {
        // Missing Integrations?
        RecommendedIntegration[]? integrations;

        try {
            integrations = Helper.Data.ReadJsonFile <RecommendedIntegration[]>("assets/recommended_integrations.json");
            if (integrations == null)
            {
                Log("No recommendations found. Our data file seems to be missing.");
                return;
            }
        } catch (Exception ex) {
            Log($"Unable to load recommended integrations data file.", LogLevel.Warn, ex);
            return;
        }

        LoadingHelper.CheckIntegrations(this, integrations);
    }