internal static bool NeedsConfiguration()
        {
            string plasticClientBinDir = PlasticInstallPath.GetClientBinDir();

            if (string.IsNullOrEmpty(plasticClientBinDir))
            {
                return(true);
            }

            SetupUnityEditionToken.FromPlasticInstallation(plasticClientBinDir);

            return(ConfigurationChecker.NeedConfiguration());
        }
Exemple #2
0
        internal static bool NeedsConfiguration()
        {
            string plasticClientBinDir = PlasticInstallPath.GetClientBinDir();

            if (!string.IsNullOrEmpty(plasticClientBinDir))
            {
                SetupUnityEditionToken.FromPlasticInstallation(plasticClientBinDir);
            }

            if (ConfigurationChecker.NeedConfiguration())
            {
                return(true);
            }

            if (ClientConfig.Get().GetClientConfigData().WorkingMode == "SSOWorkingMode" &&
                !CmConnection.Get().IsAnyTokenConfigured())
            {
                return(true);
            }

            return(false);
        }