Skip to content

Commit c8ca462

Browse files
DareDevilDenisLUFF,VINCE (K-UnitedKingdom,ex1)
and
LUFF,VINCE (K-UnitedKingdom,ex1)
authored
Fix issue 14 for 32 bit Windows (#15)
Co-authored-by: LUFF,VINCE (K-UnitedKingdom,ex1) <[email protected]>
1 parent e951b92 commit c8ca462

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Diff for: clr_loader/util/find.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ def find_dotnet_root() -> str:
1111

1212
if sys.platform == "win32":
1313
# 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-
14+
prog_files = os.environ.get("ProgramFiles")
1915
dotnet_root = os.path.join(prog_files, "dotnet")
2016
if os.path.isdir(dotnet_root):
2117
return dotnet_root

0 commit comments

Comments
 (0)