diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-07-27 18:44:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-27 18:44:12 +0200 |
commit | c1d7ee3224f2f46754ee263ea72814e2a8d7ef7d (patch) | |
tree | c7caa05fdf0a49fb7ee2d41900b5d5274aacd58f | |
parent | 1d87108b5b5b460e3ae9eb02a7a5554f3d78b376 (diff) | |
parent | b48fd16add3669219ad38c27f7db7fc2d5e32130 (diff) |
Merge pull request #5938 from vnen/windows-resource-info
Improve Windows application details
-rw-r--r-- | platform/windows/godot_res.rc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/platform/windows/godot_res.rc b/platform/windows/godot_res.rc index 5f1e951e0f..c1754afa8c 100644 --- a/platform/windows/godot_res.rc +++ b/platform/windows/godot_res.rc @@ -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" |