Add correct version numbers to the Windows resource file
For the numeric fields, this means we get to treat all X.Y.Z versions as X.Y.Z.0, and there's no string suffix for those for obvious reasons. Not that anyone cares, really. Now we get a pretty name for our client process in the Task Manager too, hooray! (Also cleaned-up some of the placeholder code that was left here by loonycyborg.)
This commit is contained in:
parent
e2aa9d4239
commit
7465f04e0a
1 changed files with 14 additions and 15 deletions
|
@ -1,28 +1,27 @@
|
|||
#include "windows.h"
|
||||
#include "../../src/wesconfig.h"
|
||||
|
||||
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wesnoth.exe.manifest"
|
||||
WESNOTH_ICON ICON "wesnoth-icon.ico"
|
||||
|
||||
//TODO: figure out the best way to get actual version numbers
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 0,0,0,0
|
||||
PRODUCTVERSION 0,0,0,0
|
||||
FILEVERSION RC_VERSION_MAJOR, RC_VERSION_MINOR, RC_VERSION_REVISION, 0
|
||||
PRODUCTVERSION RC_VERSION_MAJOR, RC_VERSION_MINOR, RC_VERSION_REVISION, 0
|
||||
FILEOS VOS__WINDOWS32
|
||||
FILETYPE VFT_APP
|
||||
FILESUBTYPE VFT2_UNKNOWN
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "\0"
|
||||
VALUE "FileDescription", "Wesnoth\0"
|
||||
VALUE "FileVersion", "0, 0, 0, 0\0"
|
||||
VALUE "InternalName", "Wesnoth\0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2003 - 2015 David White\0"
|
||||
VALUE "FileDescription", "Wesnoth Game Client\0"
|
||||
VALUE "InternalName", "wesnoth\0"
|
||||
VALUE "OriginalFilename", "wesnoth.exe\0"
|
||||
VALUE "ProductName", "Battle for Wesnoth\0"
|
||||
VALUE "ProductVersion", "0, 0, 0, 0\0"
|
||||
VALUE "FileVersion", VERSION "\0"
|
||||
VALUE "ProductVersion", VERSION "\0"
|
||||
VALUE "ProductName", "The Battle for Wesnoth\0"
|
||||
VALUE "CompanyName", "The Battle for Wesnoth Project\0"
|
||||
VALUE "LegalCopyright", "(C) The Battle for Wesnoth Project\0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
|
Loading…
Add table
Reference in a new issue