From cc768bffab867033f10109a4c2d73a0946307dba Mon Sep 17 00:00:00 2001 From: Nishi Date: Thu, 19 Sep 2024 10:54:21 +0000 Subject: [PATCH] trying to add version info git-svn-id: file:///raid/svn-personal/tewi/trunk@77 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Server/install.nsi | 6 ++++++ installer.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Server/install.nsi b/Server/install.nsi index a18b79b..fc1c5db 100644 --- a/Server/install.nsi +++ b/Server/install.nsi @@ -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" diff --git a/installer.sh b/installer.sh index 60bcba7..e7c0fd8 100755 --- a/installer.sh +++ b/installer.sh @@ -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 .. -- 2.43.0