Fix downloading OmniBlade MSVC toolchains (#841)

This commit is contained in:
Robin Lambertz
2023-09-08 23:59:09 +02:00
committed by GitHub
parent 32117469b8
commit a7608e8086
+8 -6
View File
@@ -963,11 +963,6 @@ 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
@@ -975,7 +970,14 @@ def download_win9x():
)
# 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