mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-01-17 06:18:22 +01:00
7e674a887d
May fix pipeline failures on ghactions where makeico or toarray just exit with a non-zero status for no reason. Also makes it easier (possible, rather) to build TPT using a cross-compiling msvc toolchain on windows; you can't have two different msvc toolchains in PATH on windows because of course you can't. toarray had been python before, maybe I converted it to cpp to avoid pulling in python as a dependency, I'm not sure. With android vanilla development (hopefully) gaining traction soon, we'll be relying anyway on helper scripts I've written in python, so python will be a dependency sooner or later. Meson implicitly makes python a dependency, but there could be Meson implementations out there that don't rely on python, who knows.
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
#pragma code_page(65001) // UTF-8
|
|
|
|
#include "@RESOUCE_H@"
|
|
#include <winuser.h>
|
|
#include <winver.h>
|
|
// #include <ntdef.h> // maybe not needed?
|
|
|
|
#define HAVE_ICONS @HAVE_ICONS@
|
|
#define HAVE_UTF8CP @HAVE_UTF8CP@
|
|
#if HAVE_ICONS
|
|
IDI_ICON ICON DISCARDABLE "@ICON_EXE_ICO@"
|
|
IDI_DOC_ICON ICON DISCARDABLE "@ICON_CPS_ICO@"
|
|
#endif
|
|
#if HAVE_UTF8CP
|
|
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "@WINUTF8_XML@"
|
|
#endif
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION @DISPLAY_VERSION_MAJOR@,@DISPLAY_VERSION_MINOR@,0,@BUILD_NUM@
|
|
PRODUCTVERSION @DISPLAY_VERSION_MAJOR@,@DISPLAY_VERSION_MINOR@,0,@BUILD_NUM@
|
|
{
|
|
BLOCK "StringFileInfo"
|
|
{
|
|
BLOCK "040904b0"
|
|
{
|
|
VALUE "CompanyName", "https://powdertoy.co.uk/\0"
|
|
VALUE "FileDescription", "@APPNAME@\0"
|
|
VALUE "FileVersion", "@DISPLAY_VERSION_MAJOR@.@DISPLAY_VERSION_MINOR@.0.@BUILD_NUM@\0"
|
|
VALUE "OriginalFilename", "@APPEXE@.exe\0"
|
|
VALUE "LegalCopyright", "@MANIFEST_COPYRIGHT@\0"
|
|
VALUE "ProductName", "@APPCOMMENT@\0"
|
|
VALUE "ProductVersion", "@DISPLAY_VERSION_MAJOR@.@DISPLAY_VERSION_MINOR@.0.@BUILD_NUM@\0"
|
|
VALUE "InternalName", "@APPID@\0"
|
|
}
|
|
}
|
|
BLOCK "VarFileInfo"
|
|
{
|
|
VALUE "Translation", 0x409, 65001
|
|
}
|
|
}
|