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

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

            SetupUnityEditionToken.FromPlasticInstallation(plasticClientBinDir);

            return(ConfigurationChecker.NeedConfiguration());
        }
        internal static bool NeedsConfiguration()
        {
            string clientBinFolder = PlasticInstallPath.GetClientBinDir();

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

            SetupEditionFile(clientBinFolder);

            return(ConfigurationChecker.NeedConfiguration());
        }
示例#3
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);
        }