diff --git a/aqt/metadata.py b/aqt/metadata.py index 2d488ccb..9156a1f7 100644 --- a/aqt/metadata.py +++ b/aqt/metadata.py @@ -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 arch elif arch.startswith("win"): m = re.match(r"win\d{2}_(?Pmsvc\d{4})_(?Pwinrt_x\d{2})", arch) if m: diff --git a/aqt/updater.py b/aqt/updater.py index e891bd9c..849fb9b1 100644 --- a/aqt/updater.py +++ b/aqt/updater.py @@ -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)