From 4c6a723fa31693c8a74ebd78b280a4e618c28331 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 26 Jun 2023 22:52:38 +0300 Subject: [PATCH 12/12] installer_cross: Add "crs" as arch part for registry/install dir Unify installer_cross Registry Key paths and default installation directory with msys2 by adding "crs" as equivalent to the arch part of the msys2 paths. See osdn #47343 Signed-off-by: Marko Lindqvist --- .../create-freeciv-gtk-qt-nsi.sh | 57 +++++++++++-------- .../create-freeciv-ruledit-nsi.sh | 53 +++++++++-------- .../create-freeciv-sdl2-nsi.sh | 57 +++++++++++-------- 3 files changed, 94 insertions(+), 73 deletions(-) diff --git a/windows/installer_cross/create-freeciv-gtk-qt-nsi.sh b/windows/installer_cross/create-freeciv-gtk-qt-nsi.sh index ae3924794e..2aae7077a4 100755 --- a/windows/installer_cross/create-freeciv-gtk-qt-nsi.sh +++ b/windows/installer_cross/create-freeciv-gtk-qt-nsi.sh @@ -13,6 +13,9 @@ if test "x$7" != "x" && ! test -x "$7" ; then exit 1 fi +ARCH_KEY_PART="crs" +ARCH_INST_PART="-crs" + cat < +ARCH_KEY_PART="crs" +ARCH_INST_PART="-crs" + cat <