Fix dotnet installation selection on Linux to favor lib over share
This commit is contained in:
@@ -199,7 +199,11 @@ namespace Flax.Build
|
|||||||
if (rid == ridFallback)
|
if (rid == ridFallback)
|
||||||
ridFallback = "";
|
ridFallback = "";
|
||||||
if (string.IsNullOrEmpty(dotnetPath))
|
if (string.IsNullOrEmpty(dotnetPath))
|
||||||
dotnetPath = "/usr/share/dotnet/";
|
{
|
||||||
|
dotnetPath = "/usr/lib/dotnet/";
|
||||||
|
if (!Directory.Exists(dotnetPath))
|
||||||
|
dotnetPath = "/usr/share/dotnet/";
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case TargetPlatform.Mac:
|
case TargetPlatform.Mac:
|
||||||
|
|||||||
Reference in New Issue
Block a user