shithub: candycrisis

ref: 6159713b2a0f55e2cd41797ed7aa3a5a4c0a06a3
dir: /packaging/app.exe.rc/

View raw version
#include <windows.h>
#include "version.h"

#pragma code_page(1252)

#define PROJECT_VERSION_4_WORDS PROJECT_VERSION_MAJOR,PROJECT_VERSION_MINOR,PROJECT_VERSION_PATCH,0

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
//
// IMPORTANT: The .ico should be UNCOMPRESSED, as a png-compressed .ico
// may cause garbage AVs to flag the game as a false positive!
IDI_ICON1 ICON DISCARDABLE "app.ico"

VS_VERSION_INFO VERSIONINFO
FILEVERSION     PROJECT_VERSION_4_WORDS
PRODUCTVERSION  PROJECT_VERSION_4_WORDS
FILEOS          VOS_NT_WINDOWS32
FILETYPE        VFT_APP
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0" // US English cp1252 (hex)
        BEGIN
            VALUE "CompanyName",        "Candy Crisis"
            VALUE "FileDescription",    "Candy Crisis"
            VALUE "FileVersion",        PROJECT_VERSION
            VALUE "InternalName",       "Candy Crisis"
            VALUE "LegalCopyright",     "Candy Crisis"
            VALUE "OriginalFilename",   "CandyCrisis.exe"
            VALUE "ProductName",        "Candy Crisis"
            VALUE "ProductVersion",     PROJECT_VERSION
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1252 // US English cp1252
    END
END