aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/wtl/appwizard_setup.js-vs2022.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/wtl/appwizard_setup.js-vs2022.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/wtl/appwizard_setup.js-vs2022.patch')
-rw-r--r--vcpkg/ports/wtl/appwizard_setup.js-vs2022.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/vcpkg/ports/wtl/appwizard_setup.js-vs2022.patch b/vcpkg/ports/wtl/appwizard_setup.js-vs2022.patch
new file mode 100644
index 0000000..1f0f4e5
--- /dev/null
+++ b/vcpkg/ports/wtl/appwizard_setup.js-vs2022.patch
@@ -0,0 +1,35 @@
+--- a/AppWizard/Setup.js
++++ b/AppWizard/Setup.js
+@@ -185,26 +185,30 @@
+ }
+ }
+
+-// Search for Visual Studio 2017-2019
+- var nVersionsNew = 2;
++// Search for Visual Studio 2017/2019/2022
++ var nVersionsNew = 3;
+
+ var strWizardFolderNew = "Common7\\IDE\\VC\\vcprojects";
+
+ var astrVersionsNew = new Array();
+ astrVersionsNew[0] = "Visual Studio 2017 (15.0)";
+ astrVersionsNew[1] = "Visual Studio 2019 (16.0)";
++ astrVersionsNew[2] = "Visual Studio 2022 (17.0)";
+
+ var astrWizVerNew = new Array();
+ astrWizVerNew[0] = "15.0";
+ astrWizVerNew[1] = "16.0";
++ astrWizVerNew[2] = "17.0";
+
+ var astrParamVerNew = new Array();
+ astrParamVerNew[0] = "15";
+ astrParamVerNew[1] = "16";
++ astrParamVerNew[2] = "17";
+
+ var astrFilterVer = new Array();
+ astrFilterVer[0] = "[15.0,16.0]";
+ astrFilterVer[1] = "[16.0,17.0]";
++ astrFilterVer[2] = "[17.0,18.0]";
+
+ // Ensure that we can run vswhere.exe
+ var strProgFileRegKey_x86 = "HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\ProgramFilesDir (x86)";