Exemplo n.º 1
0
        private void DetectBuildType(List <Action> Actions)
        {
            foreach (Action action in Actions)
            {
                if (action.ActionType != ActionType.Compile && action.ActionType != ActionType.Link)
                {
                    continue;
                }

                if (action.CommandPath.Contains("orbis"))
                {
                    BuildType = FBBuildType.PS4;
                    return;
                }
                else if (action.CommandPath.Contains("Durango"))
                {
                    BuildType = FBBuildType.XBOne;
                    return;
                }
                else if (action.CommandPath.Contains("Microsoft"))                 //Not a great test.
                {
                    BuildType = FBBuildType.Windows;
                    return;
                }
            }
        }
Exemplo n.º 2
0
        private void DetectBuildType(List <Action> Actions)
        {
            foreach (Action action in Actions)
            {
                if (action.ActionType != ActionType.Compile && action.ActionType != ActionType.Link)
                {
                    continue;
                }

                if (action.CommandPath.FullName.Contains("orbis"))
                {
                    BuildType = FBBuildType.PS4;
                    return;
                }
                else if (action.CommandArguments.Contains("Intermediate\\Build\\XboxOne"))
                {
                    BuildType = FBBuildType.XBOne;
                    return;
                }
                else if (action.CommandPath.FullName.Contains("Microsoft")) //Not a great test.
                {
                    BuildType = FBBuildType.Windows;
                    return;
                }
            }
        }