From f63e15fd9845369c1fa05047a7850aa56f2234c4 Mon Sep 17 00:00:00 2001 From: doyle Date: Sat, 10 Sep 2022 17:17:30 +1000 Subject: [PATCH] stuff --- Installer/win_portable-msvc.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Installer/win_portable-msvc.py b/Installer/win_portable-msvc.py index 428f05a..3d7f8c0 100644 --- a/Installer/win_portable-msvc.py +++ b/Installer/win_portable-msvc.py @@ -180,7 +180,7 @@ sdk_packages = [ f"Windows SDK for Windows Store Apps Tools-x86_en-us.msi", # Windows SDK headers f"Windows SDK for Windows Store Apps Headers-x86_en-us.msi", - f"Windows SDK Desktop Headers {TARGET}-x86_en-us.msi", + f"Windows SDK Desktop Headers x86-x86_en-us.msi", # Windows SDK libs f"Windows SDK for Windows Store Apps Libs-x86_en-us.msi", f"Windows SDK Desktop Libs {TARGET}-x86_en-us.msi", @@ -282,8 +282,7 @@ set INCLUDE=%MSVC_ROOT%\\include;%SDK_INCLUDE%\\ucrt;%SDK_INCLUDE%\\shared;%SDK_ set LIB=%MSVC_ROOT%\\lib\\%MSVC_ARCH%;%SDK_LIBS%\\ucrt\\%SDK_ARCH%;%SDK_LIBS%\\um\\%SDK_ARCH% """ -with open(OUTPUT / "setup.bat", "w") as f: - print(SETUP, file=f) +(OUTPUT / "setup.bat").write_text(SETUP) print(f"Total downloaded: {total_download>>20} MB") print("Done!")