Thanks to visit codestin.com Credit goes to github.com
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 e951b92 commit c8ca462Copy full SHA for c8ca462
clr_loader/util/find.py
@@ -11,11 +11,7 @@ def find_dotnet_root() -> str:
11
12
if sys.platform == "win32":
13
# On Windows, the host library is stored separately from dotnet.exe for x86
14
- if sys.maxsize > 2 ** 32:
15
- prog_files = os.environ.get("ProgramFiles")
16
- else:
17
- prog_files = os.environ.get("ProgramFiles(x86)")
18
-
+ prog_files = os.environ.get("ProgramFiles")
19
dotnet_root = os.path.join(prog_files, "dotnet")
20
if os.path.isdir(dotnet_root):
21
return dotnet_root
0 commit comments