_poop
This commit is contained in:
@@ -35,13 +35,10 @@ public class GameTarget : GameProjectTarget
|
|||||||
|
|
||||||
public override string GetOutputFilePath(BuildOptions options, TargetOutputType? outputType = null)
|
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)
|
// 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", "Windows");
|
||||||
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");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return base.GetOutputFilePath(options, outputType);
|
return base.GetOutputFilePath(options, outputType);
|
||||||
|
|||||||
Reference in New Issue
Block a user