public override void Package(ProjectParams Params, DeploymentContext SC, int WorkingCL)
	{
        // package up the program, potentially with an installer for Windows
        BaseWindowsDeploy Deploy = new BaseWindowsDeploy();
        string CookFlavor = SC.FinalCookPlatform.IndexOf("_") > 0 ? SC.FinalCookPlatform.Substring(SC.FinalCookPlatform.IndexOf("_")) : "";

        List<string> ExeNames = GetExecutableNames(SC);

        foreach (string ExeName in ExeNames)
        {
            Deploy.PrepForUATPackageOrDeploy(Params.RawProjectPath, Params.ShortProjectName, SC.ProjectRoot, ExeName, SC.LocalRoot + "/Engine", Params.Distribution, CookFlavor, false);
        }
		// package up the program, potentially with an installer for Windows
		PrintRunTime();
	}
Exemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="ProjectFile"></param>
        /// <param name="ProjectName"></param>
        /// <param name="ProjectDirectory"></param>
        /// <param name="InTargetConfigurations"></param>
        /// <param name="InExecutablePaths"></param>
        /// <param name="EngineDirectory"></param>
        /// <returns></returns>
        public static bool PrepForUATPackageOrDeploy(FileReference ProjectFile, string ProjectName, DirectoryReference ProjectDirectory, List <UnrealTargetConfiguration> InTargetConfigurations, List <FileReference> InExecutablePaths, DirectoryReference EngineDirectory)
        {
            BaseWindowsDeploy Deploy = new BaseWindowsDeploy();

            return(Deploy.PrepForUATPackageOrDeploy(ProjectFile, ProjectName, ProjectDirectory.FullName, InTargetConfigurations, InExecutablePaths.Select(x => x.FullName).ToList(), EngineDirectory.FullName));
        }
Exemplo n.º 3
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="ProjectFile"></param>
        /// <param name="ProjectName"></param>
        /// <param name="ProjectDirectory"></param>
        /// <param name="InTargetConfigurations"></param>
        /// <param name="InExecutablePaths"></param>
        /// <param name="EngineDirectory"></param>
        /// <param name="bForDistribution"></param>
        /// <param name="CookFlavor"></param>
        /// <param name="bIsDataDeploy"></param>
        /// <returns></returns>
        public static bool PrepForUATPackageOrDeploy(FileReference ProjectFile, string ProjectName, string ProjectDirectory, List <UnrealTargetConfiguration> InTargetConfigurations, List <string> InExecutablePaths, string EngineDirectory, bool bForDistribution, string CookFlavor, bool bIsDataDeploy)
        {
            BaseWindowsDeploy Deploy = new BaseWindowsDeploy();

            return(Deploy.PrepForUATPackageOrDeploy(ProjectFile, ProjectName, ProjectDirectory, InTargetConfigurations, InExecutablePaths, EngineDirectory, bForDistribution, CookFlavor, bIsDataDeploy));
        }