From a045a4fcd4bfc5347f4cb9ae8f108ad2f08231ef Mon Sep 17 00:00:00 2001 From: zilmar Date: Fri, 6 Dec 2024 11:37:42 +1030 Subject: [PATCH] Core: fix accidental changes to UIResources.rc --- Source/Project64/UserInterface/UIResources.rc | 33 +++++++++---------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/Source/Project64/UserInterface/UIResources.rc b/Source/Project64/UserInterface/UIResources.rc index 95650b5c9..6979e173b 100644 --- a/Source/Project64/UserInterface/UIResources.rc +++ b/Source/Project64/UserInterface/UIResources.rc @@ -1,6 +1,7 @@ // Microsoft Visual C++ generated resource script. // #include "resource.h" +#include "../../Project64-core/Version.h" #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -2103,29 +2104,25 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 4,0,0,6507 - PRODUCTVERSION 4,0,0,6507 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x40004L - FILETYPE 0x1L - FILESUBTYPE 0x0L + FILEVERSION VER_FILE_VERSION + PRODUCTVERSION VER_PRODUCT_VERSION + FILEFLAGSMASK 0x3fL + FILEFLAGS VER_FILEFLAGS + FILEOS VER_FILEOS + FILETYPE VER_FILETYPE + FILESUBTYPE 0x0L BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "040904b0" BEGIN - VALUE "FileDescription", "Project64" - VALUE "FileVersion", "Dev-4.0.0.6507-77cd6797-Dirty" - VALUE "InternalName", "Project64" - VALUE "LegalCopyright", "Copyright (C) 2024" - VALUE "OriginalFilename", "Project64.exe" - VALUE "ProductName", "Project64" - VALUE "ProductVersion", "Dev-4.0.0.6507-77cd6797-Dirty" + VALUE "FileDescription", VER_FILE_DESCRIPTION_STR "\0" + VALUE "FileVersion", VER_FILE_VERSION_STR "\0" + VALUE "InternalName", VER_INTERNAL_NAME_STR "\0" + VALUE "LegalCopyright", VER_COPYRIGHT_STR "\0" + VALUE "OriginalFilename", VER_ORIGINAL_FILENAME_STR "\0" + VALUE "ProductName", VER_PRODUCTNAME_STR + VALUE "ProductVersion", VER_PRODUCT_VERSION_STR "\0" END END BLOCK "VarFileInfo"