mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-26 15:14:13 +08:00
53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
#include "VersionInfo.h"
|
|
|
|
#if defined(__MINGW64__) || defined(__MINGW32__)
|
|
// MinGW-w64, MinGW
|
|
#if defined(__has_include) && __has_include(<winres.h>)
|
|
#include <winres.h>
|
|
#else
|
|
#include <afxres.h>
|
|
#include <winresrc.h>
|
|
#endif
|
|
#else
|
|
// MSVC, Windows SDK
|
|
#include <winres.h>
|
|
#endif
|
|
|
|
//IDI_ICON1 ICON PRODUCT_ICON
|
|
|
|
//LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION FILE_VERSION_RESOURCE
|
|
PRODUCTVERSION PRODUCT_VERSION_RESOURCE
|
|
FILEFLAGSMASK 0x3fL
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x4L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "000904b0"
|
|
BEGIN
|
|
VALUE "Comments", PRODUCT_COMMENTS
|
|
VALUE "CompanyName", PRODUCT_COMPANY_NAME
|
|
VALUE "FileDescription", PRODUCT_FILE_DESCRIPTION
|
|
VALUE "FileVersion", FILE_VERSION_RESOURCE_STR
|
|
VALUE "InternalName", PRODUCT_INTERNAL_NAME
|
|
VALUE "LegalCopyright", PRODUCT_COMPANY_COPYRIGHT
|
|
VALUE "OriginalFilename", PRODUCT_ORIGINAL_FILENAME
|
|
VALUE "ProductName", PRODUCT_BUNDLE
|
|
VALUE "ProductVersion", PRODUCT_VERSION_RESOURCE_STR
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x9, 1200
|
|
END
|
|
END
|