diff --git a/Source/GameTarget.Build.cs b/Source/GameTarget.Build.cs index 79df0c5..1b3efae 100644 --- a/Source/GameTarget.Build.cs +++ b/Source/GameTarget.Build.cs @@ -35,13 +35,10 @@ public class GameTarget : GameProjectTarget public override string GetOutputFilePath(BuildOptions options, TargetOutputType? outputType = null) { - if (!Environment.CommandLine.Contains("Cooker")) // Hacky way to detect if this is run during cooking + if (!Environment.CommandLine.Contains("Cooker")) // Detect if this is run during editor cooking { // Output files directly to cooked folders (used only during development) - if (options.Configuration == TargetConfiguration.Development || options.Configuration == TargetConfiguration.Debug) - options.OutputFolder = Path.Combine(FolderPath, "..", "Output", "WindowsDevelopment"); - else if (options.Configuration == TargetConfiguration.Release) - options.OutputFolder = Path.Combine(FolderPath, "..", "Output", "WindowsDevelopment");//options.OutputFolder = Path.Combine(FolderPath, "..", "Output", "WindowsRelease"); + options.OutputFolder = Path.Combine(FolderPath, "..", "Output", "Windows"); } return base.GetOutputFilePath(options, outputType);