Fix vscode default build task to favor current architecture (eg. arm64 for Editor on macOS)
This commit is contained in:
@@ -172,7 +172,7 @@ namespace Flax.Build.Projects.VisualStudioCode
|
|||||||
|
|
||||||
json.AddField("label", name);
|
json.AddField("label", name);
|
||||||
|
|
||||||
bool isDefaultTask = defaultTask && configuration.Configuration == TargetConfiguration.Development && configuration.Platform == Platform.BuildPlatform.Target;
|
bool isDefaultTask = defaultTask && configuration.Configuration == TargetConfiguration.Development && configuration.Platform == Platform.BuildPlatform.Target && configuration.Architecture == Platform.BuildTargetArchitecture;
|
||||||
|
|
||||||
json.BeginObject("group");
|
json.BeginObject("group");
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user