Project

General

Profile

Feature #1628 » 0048-installer_cross-Rename-create-freeciv-sdl2-nsi.sh-as.patch

S3_3 - Marko Lindqvist, 07/22/2025 06:27 AM

View differences:

platforms/windows/Makefile.am
installer_msys2/Freeciv.url \
installer_msys2/Makefile.meson \
installer_cross/create-freeciv-gtk-qt-nsi.sh \
installer_cross/create-freeciv-sdl2-nsi.sh \
installer_cross/create-freeciv-sdl-nsi.sh \
installer_cross/create-freeciv-ruledit-nsi.sh \
installer_cross/Freeciv.url \
installer_cross/freeciv-server.cmd \
platforms/windows/installer_cross/create-freeciv-sdl2-nsi.sh → platforms/windows/installer_cross/create-freeciv-sdl-nsi.sh
#!/bin/sh
# ./create-freeciv-sdl2-nsi.sh <freeciv files dir> <output dir> <version> <win64|win> [uninstall setup script]
# ./create-freeciv-sdl-nsi.sh <freeciv files dir> <output dir> <version> <win64|win> [uninstall setup script]
if test "$5" != "" && ! test -x "$5" ; then
echo "$5 not an executable script" >&2
platforms/windows/installer_cross/meson-installer_build.sh
NSI_FILE="${NSI_DIR}/client-${SETUP}-${VERREV}-${GUI}.nsi"
if test "${GUI}" = "sdl2" ; then
if ! ./create-freeciv-sdl2-nsi.sh \
if ! ./create-freeciv-sdl-nsi.sh \
"${INSTDIR}" "meson/output" "${VERREV}" "${SETUP}" "${UNINSTALLER}" \
> "${NSI_FILE}"
then
(2-2/3)