mirror of
https://github.com/godotengine/godot.git
synced 2024-12-04 18:14:14 +00:00
85a5290ee8
By providing a manifest specifying the targeted Windows versions (as per https://msdn.microsoft.com/en-us/library/windows/desktop/hh404233(v=vs.85).aspx#_______supporting_high_contrast_themes_in_windows_8_and_later) now the Godot editor renders normally under a high contrast theme on Windows, instead of staying white/black.
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
#include <winuser.h>
|
|
#include "core/version.h"
|
|
#ifndef _STR
|
|
#define _STR(m_x) #m_x
|
|
#define _MKSTR(m_x) _STR(m_x)
|
|
#endif
|
|
|
|
GODOT_ICON ICON platform/windows/godot.ico
|
|
|
|
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST platform/windows/godot.manifest
|
|
|
|
1 VERSIONINFO
|
|
FILEVERSION VERSION_MAJOR,VERSION_MINOR,0,0
|
|
PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,0,0
|
|
FILEOS 4
|
|
FILETYPE 1
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904b0"
|
|
BEGIN
|
|
VALUE "CompanyName", "Godot Engine"
|
|
VALUE "FileDescription", _MKSTR(VERSION_NAME) " Editor (" _MKSTR(VERSION_STATUS) ")"
|
|
VALUE "FileVersion", _MKSTR(VERSION_MAJOR) "." _MKSTR(VERSION_MINOR) "."_MKSTR(VERSION_REVISION)
|
|
VALUE "ProductName", _MKSTR(VERSION_NAME)
|
|
VALUE "Licence", "MIT"
|
|
VALUE "LegalCopyright", "Copyright (c) 2007-" _MKSTR(VERSION_YEAR) " Juan Linietsky, Ariel Manzur"
|
|
VALUE "Info", "http://www.godotengine.org"
|
|
VALUE "ProductVersion", _MKSTR(VERSION_MAJOR) "." _MKSTR(VERSION_MINOR) "."_MKSTR(VERSION_REVISION)
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|