644b83e0b4
Windows can show the version in the file properties. This requires an additional entry in its resource. Restructure global version defines since the former requires a different format than used previously. Change-Id: I2bf261a02ea8e0af6dc081568960debfb779d396
34 lines
1,017 B
Text
34 lines
1,017 B
Text
#include <windows.h>
|
|
#include "version.h"
|
|
1 MANIFEST MOVEABLE PURE "rbutilqt.manifest"
|
|
RBUTIL_ICON ICON DISCARDABLE "icons/rockbox.ico"
|
|
|
|
// Version Info
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_MICRO,VERSION_PATCH
|
|
PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_MICRO,VERSION_PATCH
|
|
FILEFLAGSMASK 0x17L
|
|
FILEFLAGS 0x0L
|
|
FILEOS 0x4L
|
|
FILETYPE 0x0L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "000004b0"
|
|
BEGIN
|
|
VALUE "FileDescription", "Rockbox Utility"
|
|
VALUE "FileVersion", VERSIONSTRING(VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO)
|
|
VALUE "LegalCopyright", "Rockbox developers"
|
|
VALUE "ProductName", "Rockbox Utility"
|
|
VALUE "ProductVersion", VERSIONSTRING(VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO)
|
|
VALUE "OriginalFilename", "RockboxUtility.exe"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x0, 1200
|
|
END
|
|
END
|
|
|