proper resource

git-svn-id: file:///raid/svn-personal/tewi/trunk@49 8739d7e6-ffea-ec47-b151-bdff447c6205
This commit is contained in:
Nishi 2024-09-18 10:33:18 +00:00
parent 791c423286
commit 3e51e27b87
3 changed files with 20 additions and 1 deletions

View 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

View 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);

View 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)