LookingGlass/host/platform/Windows/resource.rc
Quantum 3400c2c141 [host] windows: add version resource
This allows friendly names and versions to be displayed in task manager
and other applications.
2021-07-21 12:32:41 +10:00

42 lines
1.2 KiB
Plaintext

#include "winuser.h"
#include "winver.h"
#include "version.h"
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "app.manifest"
IDI_APPLICATION ICON "../../../resources/icon.ico"
#define STRINGIFY2(s) #s
#define STRINGIFY(s) STRINGIFY2(s)
#define COPYRIGHT_TEXT(year) (c) 2017-year The Looking Glass Developers
#define COPYRIGHT_STR(year) STRINGIFY(COPYRIGHT_TEXT(year))
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,0,0,0
PRODUCTVERSION 0,0,0,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "04090000"
BEGIN
VALUE "CompanyName", "The Looking Glass Developers"
VALUE "FileDescription", "Looking Glass (host)"
VALUE "FileVersion", LG_VERSION_STR
VALUE "InternalName", "looking-glass-host.exe"
VALUE "LegalCopyright", COPYRIGHT_STR(LG_CURRENT_YEAR)
VALUE "OriginalFilename", "looking-glass-host.exe"
VALUE "ProductName", "Looking Glass (host)"
VALUE "ProductVersion", LG_VERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 0
END
END