Skip to content

Commit

Permalink
oopth2
Browse files Browse the repository at this point in the history
  • Loading branch information
ethteck committed Sep 8, 2023
1 parent f825921 commit 61a59d5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions backend/compilers/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,9 @@ def download_win9x():
url="https://github.com/itsmattkc/MSVC400/archive/refs/heads/master.zip",
dest_name="msvc40",
)
shutil.move(COMPILERS_DIR / "MSVC400-master", COMPILERS_DIR / "msvc4.0")

if os.path.exists(COMPILERS_DIR / "MSVC400-master"):
shutil.move(COMPILERS_DIR / "MSVC400-master", COMPILERS_DIR / "msvc4.0")
if os.path.exists(COMPILERS_DIR / "msvc4.0/BIN"):
shutil.move(COMPILERS_DIR / "msvc4.0/BIN", COMPILERS_DIR / "msvc4.0/Bin")
set_x(COMPILERS_DIR / "msvc4.0/Bin/CL.EXE")
Expand All @@ -998,7 +1000,9 @@ def download_win9x():
url="https://github.com/itsmattkc/MSVC420/archive/refs/heads/master.zip",
dest_name="msvc42",
)
shutil.move(COMPILERS_DIR / "MSVC420-master", COMPILERS_DIR / "msvc4.2")

if os.path.exists(COMPILERS_DIR / "MSVC420-master"):
shutil.move(COMPILERS_DIR / "MSVC420-master", COMPILERS_DIR / "msvc4.2")
if os.path.exists(COMPILERS_DIR / "msvc4.2/bin"):
shutil.move(COMPILERS_DIR / "msvc4.2/bin", COMPILERS_DIR / "msvc4.2/Bin")
set_x(COMPILERS_DIR / "msvc4.2/Bin/CL.EXE")
Expand Down

0 comments on commit 61a59d5

Please sign in to comment.