Skip to content

Commit

Permalink
Update aqt/metadata.py
Browse files Browse the repository at this point in the history
  • Loading branch information
miurahr authored Oct 6, 2024
1 parent bcc97e0 commit 7371504
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aqt/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,10 @@ def dir_for_version(ver: Version) -> str:

@staticmethod
def get_arch_dir_name(host: str, arch: str, version: Version) -> str:
if arch.startswith("win64") and arch.endswith("mingw"):
if arch.startswith("win64_mingw"):
return arch[6:] + "_64"
elif arch.startswith("win64_llvm"):
return "llvm-" + arch[11:] + "_64"
elif arch.startswith("win32_mingw"):
return arch[6:] + "_32"
elif arch.startswith("win"):
Expand Down

0 comments on commit 7371504

Please sign in to comment.