1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00
transmission/cmake/Transmission.rc.in
Mike Gelfand 59e2a3e881 Use correct language pair in version info resource
Standard Windows programs (e.g. Explorer) tolerate this, but some other
programs (e.g. Firefox) are more strict in how they retrieve version
information and may fail if language IDs in StringFileInfo and VarFileInfo
don't match.
2015-11-26 00:18:06 +00:00

51 lines
1.4 KiB
Text

#include "winresrc.h"
#include <libtransmission/version.h>
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#ifdef TR_STABLE_RELEASE
#define TR_FF_PRERELEASE 0x0L
#else
#define TR_FF_PRERELEASE VS_FF_PRERELEASE
#endif
VS_VERSION_INFO VERSIONINFO
FILEVERSION MAJOR_VERSION, MINOR_VERSION, 0, 0
PRODUCTVERSION MAJOR_VERSION, MINOR_VERSION, 0, 0
FILEFLAGSMASK VS_FF_DEBUG | TR_FF_PRERELEASE
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG | TR_FF_PRERELEASE
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Transmission Project"
VALUE "FileDescription", "${TR_FILE_DESCRIPTION}"
VALUE "FileVersion", LONG_VERSION_STRING
VALUE "InternalName", "${TR_INTERNAL_NAME}"
VALUE "LegalCopyright", "2005-2015 Transmission Project"
VALUE "OriginalFilename", "${TR_ORIGINAL_FILENAME}"
VALUE "ProductName", "Transmission"
VALUE "ProductVersion", LONG_VERSION_STRING
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 0x04b0
END
END
#cmakedefine TR_MAIN_ICON "${TR_MAIN_ICON}"
#ifdef TR_MAIN_ICON
MAINICON ICON TR_MAIN_ICON
#endif