Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix downloading OmniBlade MSVC toolchains #841

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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