From: Nishi Date: Thu, 19 Sep 2024 10:56:38 +0000 (+0000) Subject: add version info X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=969a93e43c050b69ff7de1ada31ff8306fe88412;p=tewi.git add version info git-svn-id: file:///raid/svn-personal/tewi/trunk@78 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Server/install.nsi b/Server/install.nsi index fc1c5db..dc6b82e 100644 --- a/Server/install.nsi +++ b/Server/install.nsi @@ -1,7 +1,7 @@ # $Id$ -VIFileVersion "${VERSION}" -VIProductVersion "${VERSION}" +VIFileVersion "1.0.0.0" +VIProductVersion "1.0.0.0" VIAddVersionKey "FileVersion" "${VERSION}" VIAddVersionKey "LegalCopyright" "Public domain. Original by Nishi" VIAddVersionKey "FileDescription" "Tewi HTTPd Installer" diff --git a/installer.sh b/installer.sh index e7c0fd8..b830ee2 100755 --- a/installer.sh +++ b/installer.sh @@ -7,6 +7,8 @@ fail() { exit 1 } +VERSION=`make get-version` + make clean || fail make PLATFORM=$1 -j4 || fail cp Server/tewi.exe tewi.exe @@ -14,6 +16,6 @@ make clean || fail make PLATFORM=$1-service -j4 || fail cp Server/tewi.exe tewi-service.exe cd Server -makensis /DVERSION=\"`make get-version`\" install.nsi +makensis -DVERSION=$VERSION install.nsi rm -f tewi.exe tewi-service.exe cd ..