1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-11 12:54:15 +02:00

Partially allowing WSL compilation

This commit is contained in:
Brian Fiete 2020-06-23 07:33:43 -07:00
parent 1758520193
commit 01d52131df
2 changed files with 96 additions and 48 deletions

View file

@ -7606,7 +7606,8 @@ namespace IDE
{
OutputLine("Failed to execute \"{0}\"", inFileName);
delete process;
return executionInstance;
delete executionInstance;
return null;
}
if (runFlags.HasFlag(.NoWait))
@ -10015,7 +10016,7 @@ namespace IDE
canCompile = false;
}
canCompile = true;
canCompile = platform == hostPlatform;
switch (platform)
{
case .iOS:
@ -10024,8 +10025,10 @@ namespace IDE
canCompile = true;
case .Unknown:
canCompile = true;
case .Linux:
if (hostPlatform == .Windows)
canCompile = true; // Use WSL
default:
canCompile = platform == hostPlatform;
}
if (!canCompile)