Skip to content

Commit

Permalink
fix: arch_dir of win64_llvm_mingw
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Oct 5, 2024
1 parent e38fb3a commit 349bfd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions aqt/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ def get_arch_dir_name(host: str, arch: str, version: Version) -> str:
return arch[6:] + "_64"
elif arch.startswith("win32_mingw"):
return arch[6:] + "_32"
elif arch.startswith("win64_llvm_mingw"):
return "llvm_mingw"
elif arch.startswith("win"):
m = re.match(r"win\d{2}_(?P<msvc>msvc\d{4})_(?P<winrt>winrt_x\d{2})", arch)
if m:
Expand Down
2 changes: 1 addition & 1 deletion aqt/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def make_qtenv2(self, base_dir, qt_version, arch_dir):
f.write("echo Remember to call vcvarsall.bat to complete environment setup!\n")

def set_license(self, base_dir: str, qt_version: str, arch_dir: str):
"""Update qtconfig.pri as OpenSource"""
"""Update qconfig.pri as OpenSource"""
with open(os.path.join(base_dir, qt_version, arch_dir, "mkspecs", "qconfig.pri"), "r+") as f:
lines = f.readlines()
f.seek(0)
Expand Down

0 comments on commit 349bfd9

Please sign in to comment.