From cc37c6c2d51c6dadf4229eff94418138a48f19c9 Mon Sep 17 00:00:00 2001 From: mintty Date: Wed, 14 Nov 2018 08:06:26 +0100 Subject: [PATCH] 1.9.4 controls --- VERSION | 2 +- makefile | 27 ++++++++++++++++++++++----- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/VERSION b/VERSION index 77fee73..d615fd0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.9.3 +1.9.4 diff --git a/makefile b/makefile index 4d89fc0..6bdd85d 100644 --- a/makefile +++ b/makefile @@ -8,14 +8,18 @@ # wsltty release -ver=1.9.3 +ver=1.9.4 -# wsltty appx release -verx=0.9.3 +# wsltty appx release - must have 4 parts! +verx=1.9.4.0 + +# Windows SDK version for appx +WINSDKKEY=/HKEY_LOCAL_MACHINE/SOFTWARE/WOW6432Node/Microsoft/.NET Framework Platform/Setup/Multi-Targeting Pack +WINSDKVER=`regtool list '$(WINSDKKEY)' | sed -e '$$ q' -e d` ############################## # mintty release version -minttyver=2.9.3 +minttyver=2.9.4 # or mintty branch or commit version #minttyver=master @@ -90,6 +94,19 @@ check: # check 64 bit to provide 64-Bit stability support: uname -m | grep x86_64 +############################################################################# +# patch version information for appx package configuration + +fix-verx: + echo patching $(WINSDKVER) into Launcher config + cd Launcher; sed -i~ -e "// s,v[.0-9]*,$(WINSDKVER)," Launcher.csproj + echo patched Launcher.csproj + echo patching $(verx) into app config + sed -i~ -e '/