mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
59e2a3e881
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.
51 lines
1.4 KiB
Text
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
|