We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1df0f23 commit cba6ebfCopy full SHA for cba6ebf
clr_loader/util/find.py
@@ -42,7 +42,10 @@ def find_dotnet_root() -> Path:
42
prog_files = Path(prog_files)
43
dotnet_root = prog_files / "dotnet"
44
elif sys.platform == "darwin":
45
- dotnet_root = Path("/usr/local/share/dotnet")
+ if sys.maxsize > 2**32: # is_64bits
46
+ dotnet_root = Path("/usr/local/share/dotnet/x64")
47
+ else:
48
+ dotnet_root = Path("/usr/local/share/dotnet")
49
50
if dotnet_root is not None and dotnet_root.is_dir():
51
return dotnet_root
0 commit comments