]> Git repositories of Nishi - tewi.git/commitdiff
proper resource
authorNishi <nishi@nishi.boats>
Wed, 18 Sep 2024 10:33:18 +0000 (10:33 +0000)
committerNishi <nishi@nishi.boats>
Wed, 18 Sep 2024 10:33:18 +0000 (10:33 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@49 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/tewi.rc
Server/tw_version.h
Server/version.c

index e0216403cef7ed24fefe61d16156e1b8883b8c0d..8210060da36a45cafd0db6947bdc6d6bfb7a8878 100644 (file)
@@ -1,11 +1,28 @@
+#include <winver.h>
+#include "tw_version.h"
+
 id ICON "./tewi.ico"
 VS_VERSION_INFO VERSIONINFO
+       FILEVERSION 1,0,0,0
+       PRODUCTVERSION 1,0,0,0
 BEGIN
        BLOCK "StringFileInfo"
        BEGIN
                BLOCK "040904E4"
                BEGIN
+                       VALUE "CompanyName", "Nishi\0"
+                       VALUE "FileDescription", "Simple HTTP Daemon\0"
+                       VALUE "LegalCopyright", "Public domain, original by Nishi\0"
+                       VALUE "FileVersion", TW_VERSION
+                       VALUE "ProductVersion", TW_VERSION
                        VALUE "ProductName", "Tewi HTTPd\0"
+                       VALUE "License", "Unlicense\0"
+                       VALUE "Info", "http://nishi.boats/tewi\0"
                END
        END
+       
+       BLOCK "VarFileInfo"
+       BEGIN
+               VALUE "Translation", 0x409, 65001
+       END
 END
index 3dc7dbd5beb7189da11b97afac43a1285f6209a1..568ed38b1c7f3ced2f942bc2808c3c6fbdd4efc4 100644 (file)
@@ -3,6 +3,8 @@
 #ifndef __TW_VERSION_H__
 #define __TW_VERSION_H__
 
+#define TW_VERSION "1.00\0"
+
 const char* tw_get_version(void);
 const char* tw_get_platform(void);
 
index 8c753e8f5a6c43895dc41ef3cbdff84399247a1c..a3df63b97b0efaa2d5307b532dbf2cb44d6c48ed 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "tw_version.h"
 
-const char* tw_version = "1.00";
+const char* tw_version = TW_VERSION;
 
 const char* tw_platform =
 #if defined(PLATFORM)