Skip to content

Commit

Permalink
Fix downloading OmniBlade MSVC toolchains (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla authored Sep 8, 2023
1 parent 3211746 commit a7608e8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions backend/compilers/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -963,19 +963,21 @@ def download_win9x():
"msvc6.6",
"msvc7.0",
]:
compiler_path = COMPILERS_DIR / compiler
if compiler_path.exists():
print(f"{compiler_path} already exists, skipping")
continue

url = (
"https://github.com/OmniBlade/decomp.me/releases/download/msvcwin9x/"
+ compiler
+ ".tar.gz"
)
# This is actually msvc 7.1.
if compiler == "msvc7.0":
download_tar(url=url, dest_name="msvc7.1")
compiler = "msvc7.1"

compiler_path = COMPILERS_DIR / compiler
if compiler_path.exists():
print(f"{compiler_path} already exists, skipping")
continue

download_tar(url=url, dest_name=compiler)

# Download Visual C/C++ 2002 (MSVC 7.0). Note that this toolchain, unlike
# the others, also contains the PlatformSDK and DirectX 8
Expand Down

0 comments on commit a7608e8

Please sign in to comment.