Skip to content

Commit

Permalink
Fix thing
Browse files Browse the repository at this point in the history
  • Loading branch information
ethteck committed Sep 8, 2023
1 parent a426496 commit 3ce3405
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions backend/compilers/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,15 +990,17 @@ def download_win9x():
dest_name="msvc40",
)
shutil.move(COMPILERS_DIR / "MSVC400-master", COMPILERS_DIR / "msvc4.0")
shutil.move(COMPILERS_DIR / "msvc4.0/BIN", COMPILERS_DIR / "msvc4.0/Bin")
if not 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")

download_zip(
url="https://github.com/itsmattkc/MSVC420/archive/refs/heads/master.zip",
dest_name="msvc42",
)
shutil.move(COMPILERS_DIR / "MSVC420-master", COMPILERS_DIR / "msvc4.2")
shutil.move(COMPILERS_DIR / "msvc4.2/bin", COMPILERS_DIR / "msvc4.2/Bin")
if not 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 3ce3405

Please sign in to comment.