mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:30:05 +00:00
Autogenerate Windows resource and add build number to executable
This commit is contained in:
parent
3edb4e4f96
commit
687646d407
3 changed files with 133 additions and 33 deletions
32
scwx-qt/res/scwx-qt.rc.in
Normal file
32
scwx-qt/res/scwx-qt.rc.in
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#include "winver.h"
|
||||
|
||||
IDI_ICON1 ICON "${resource_dir}\\scwx-qt\\res\\icons\\scwx-256.ico"
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION ${version_commas},${build_number}
|
||||
PRODUCTVERSION ${version_commas},${build_number}
|
||||
FILEFLAGS 0x0L
|
||||
FILEFLAGSMASK 0x3fL
|
||||
FILEOS 0x00040004L
|
||||
FILETYPE 0x1L
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "000004b0"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Dan Paulat"
|
||||
VALUE "FileDescription", "Supercell Wx"
|
||||
VALUE "FileVersion", "${version_string}.${build_number}"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2021-${copyright_year} Dan Paulat"
|
||||
VALUE "InternalName", "scwx"
|
||||
VALUE "OriginalFilename", "supercell-wx.exe"
|
||||
VALUE "ProductName", "Supercell Wx"
|
||||
VALUE "ProductVersion", "${version_string}.${build_number}"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x0, 1200
|
||||
END
|
||||
END
|
||||
Loading…
Add table
Add a link
Reference in a new issue