mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
f12fbad5a1
Rather than defining more strings, reuse PACKAGE_VERSION, which is already available. We already use PACKAGE_VERSION for `ProductVersion` and `FileVersion` in setup.nsi.
33 lines
1.3 KiB
Text
33 lines
1.3 KiB
Text
#include <windows.h> // needed for VERSIONINFO
|
|
#include "clientversion.h" // holds the needed client version information
|
|
|
|
#define VER_PRODUCTVERSION CLIENT_VERSION_MAJOR,CLIENT_VERSION_MINOR,CLIENT_VERSION_BUILD
|
|
#define VER_FILEVERSION VER_PRODUCTVERSION
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION VER_FILEVERSION
|
|
PRODUCTVERSION VER_PRODUCTVERSION
|
|
FILEOS VOS_NT_WINDOWS32
|
|
FILETYPE VFT_APP
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904E4" // U.S. English - multilingual (hex)
|
|
BEGIN
|
|
VALUE "CompanyName", "Bitcoin"
|
|
VALUE "FileDescription", "bitcoind (Bitcoin node with a JSON-RPC server)"
|
|
VALUE "FileVersion", PACKAGE_VERSION
|
|
VALUE "InternalName", "bitcoind"
|
|
VALUE "LegalCopyright", COPYRIGHT_STR
|
|
VALUE "LegalTrademarks1", "Distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php."
|
|
VALUE "OriginalFilename", "bitcoind.exe"
|
|
VALUE "ProductName", "bitcoind"
|
|
VALUE "ProductVersion", PACKAGE_VERSION
|
|
END
|
|
END
|
|
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x0, 1252 // language neutral - multilingual (decimal)
|
|
END
|
|
END
|