Merge pull request #5938 from vnen/windows-resource-info
Improve Windows application details
This commit is contained in:
commit
c1d7ee3224
|
@ -3,12 +3,18 @@
|
|||
#define _STR(m_x) #m_x
|
||||
#define _MKSTR(m_x) _STR(m_x)
|
||||
#endif
|
||||
#ifndef VERSION_PATCH
|
||||
#define VERSION_PATCH 0
|
||||
#define PATCH_STRING
|
||||
#else
|
||||
#define PATCH_STRING "." _MKSTR(VERSION_PATCH)
|
||||
#endif
|
||||
|
||||
GODOT_ICON ICON platform/windows/godot.ico
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION VERSION_MAJOR,VERSION_MINOR,0,0
|
||||
PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,0,0
|
||||
FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0
|
||||
PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0
|
||||
FILEOS 4
|
||||
FILETYPE 1
|
||||
BEGIN
|
||||
|
@ -18,12 +24,12 @@ BEGIN
|
|||
BEGIN
|
||||
VALUE "CompanyName", "Godot Engine"
|
||||
VALUE "FileDescription", _MKSTR(VERSION_NAME) " Editor (" _MKSTR(VERSION_STATUS) ")"
|
||||
VALUE "FileVersion", _MKSTR(VERSION_MAJOR) "." _MKSTR(VERSION_MINOR) "."_MKSTR(VERSION_REVISION)
|
||||
VALUE "FileVersion", _MKSTR(VERSION_MAJOR),_MKSTR(VERSION_MINOR),_MKSTR(VERSION_PATCH)
|
||||
VALUE "ProductName", _MKSTR(VERSION_NAME)
|
||||
VALUE "Licence", "MIT"
|
||||
VALUE "LegalCopyright", "Copyright (c) 2007-" _MKSTR(VERSION_YEAR) " Juan Linietsky, Ariel Manzur"
|
||||
VALUE "Info", "http://www.godotengine.org"
|
||||
VALUE "ProductVersion", _MKSTR(VERSION_MAJOR) "." _MKSTR(VERSION_MINOR) "."_MKSTR(VERSION_REVISION)
|
||||
VALUE "ProductVersion", _MKSTR(VERSION_MAJOR) "." _MKSTR(VERSION_MINOR) PATCH_STRING "." _MKSTR(VERSION_REVISION)
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
|
Loading…
Reference in New Issue