From c6297614c59b25fbff3d8f1d3dace34698e59f99 Mon Sep 17 00:00:00 2001 From: doylet Date: Tue, 12 Dec 2023 21:28:20 +1100 Subject: [PATCH] Avoid hardcoding the MSVC SDK --- install.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/install.py b/install.py index 4dc2001..3f8f781 100644 --- a/install.py +++ b/install.py @@ -271,7 +271,6 @@ if wezterm.target_triple == "x86_64-pc-windows-msvc" then clink_exe = string.format("%s\\\\..\\\\..\\\\{clink_exe_path_for_wezterm}", wezterm.executable_dir) devenv_bat = string.format("%s\\\\..\\\\..\\\\{dev_env_script_name}.bat", wezterm.executable_dir) - msvc_bat = "C:\\\\Program Files\\\\Microsoft Visual Studio\\\\2022\\\\Community\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat" clink_profile = string.format("%s\\\\..\\\\..\\\\{clink_profile_path_for_wezterm}", wezterm.executable_dir) -- Taken from: https://wezfurlong.org/wezterm/shell-integration.html @@ -281,8 +280,7 @@ if wezterm.target_triple == "x86_64-pc-windows-msvc" then default_prog = {{"cmd.exe", "/s", "/k", clink_exe, "inject", "--profile", clink_profile, "-q", - "&&", "call", devenv_bat, - "&&", "call", msvc_bat, "x64"}} + "&&", "call", devenv_bat}} end return {{