Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows: preliminary addition of VERSIONINFO resource
Need to figure out how to get actual version yet.
- Loading branch information
1 parent
bffcad8
commit 50d248c
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,33 @@ | ||
#include "winuser.h" | ||
#include "winver.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 | ||
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 "OriginalFilename", "wesnoth.exe\0" | ||
VALUE "ProductName", "Battle for Wesnoth\0" | ||
VALUE "ProductVersion", "0, 0, 0, 0\0" | ||
END | ||
END | ||
BLOCK "VarFileInfo" | ||
BEGIN | ||
VALUE "Translation", 0x409, 1200 | ||
END | ||
END |