]> Git repositories of Nishi - tewi.git/commitdiff
add version info
authorNishi <nishi@nishi.boats>
Thu, 19 Sep 2024 10:56:38 +0000 (10:56 +0000)
committerNishi <nishi@nishi.boats>
Thu, 19 Sep 2024 10:56:38 +0000 (10:56 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@78 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/install.nsi
installer.sh

index fc1c5db7e2a034eb20f8c76516aae61050093089..dc6b82efe5382a0eae4fa07286ba11f8ebc561a8 100644 (file)
@@ -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"
index e7c0fd8197bc78830d219f4be7a0259a1d9f82d5..b830ee2d8492c5cfd6353b6e39c5d600685adc73 100755 (executable)
@@ -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 ..