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

Server/install.nsi
installer.sh

index a18b79b89b0e63adfc55077a76bed12cd627d4ae..fc1c5db7e2a034eb20f8c76516aae61050093089 100644 (file)
@@ -1,5 +1,11 @@
 # $Id$
 
+VIFileVersion "${VERSION}"
+VIProductVersion "${VERSION}"
+VIAddVersionKey "FileVersion" "${VERSION}"
+VIAddVersionKey "LegalCopyright" "Public domain. Original by Nishi"
+VIAddVersionKey "FileDescription" "Tewi HTTPd Installer"
+
 LoadLanguageFile "${NSISDIR}\Contrib\Language files\Japanese.nlf"
 LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf"
 
index 60bcba713fca7ff311a331f4c454d65b3c6d0376..e7c0fd8197bc78830d219f4be7a0259a1d9f82d5 100755 (executable)
@@ -14,6 +14,6 @@ make clean || fail
 make PLATFORM=$1-service -j4 || fail
 cp Server/tewi.exe tewi-service.exe
 cd Server
-makensis install.nsi
+makensis /DVERSION=\"`make get-version`\" install.nsi
 rm -f tewi.exe tewi-service.exe
 cd ..