view rc/win32/version.rc.in @ 229:adc20fa321c1

theme: force Fusion style on platforms other than Win32 or OS X I was reluctant to do this, but most of the other styles just look like pure shite regardless of whether I force a stylesheet on them or not. KDE's style is actually hilariously bad paired with my stylesheet, so I've decided to also make the stylesheet Windows-specific as well, because that's really the only platform where it makes sense in the first place.
author Paper <paper@paper.us.eu.org>
date Wed, 10 Jan 2024 21:23:57 -0500
parents 2004b41d4a59
children 4d461ef7d424
line wrap: on
line source

#include "winver.h"

#define VER_FILEVERSION     @minori_VERSION_MAJOR@,@minori_VERSION_MINOR@,@minori_VERSION_PATCH@,0
#define VER_FILEVERSION_STR "@minori_VERSION_MAJOR@.@minori_VERSION_MINOR@.@minori_VERSION_PATCH@.0\0"

#define VER_PRODUCTVERSION     @minori_VERSION_MAJOR@,@minori_VERSION_MINOR@,@minori_VERSION_PATCH@,0
#define VER_PRODUCTVERSION_STR "@minori_VERSION_MAJOR@.@minori_VERSION_MINOR@.@minori_VERSION_PATCH@\0"

#define RC_INFO_STRING "@RC_INFO_STRING@\0"

VS_VERSION_INFO VERSIONINFO
	FILEVERSION VER_FILEVERSION
	PRODUCTVERSION VER_PRODUCTVERSION
	FILEFLAGS 0x0L
	FILEFLAGSMASK 0x3fL
	FILEOS 0x00040004L
	FILETYPE 0x1L
	FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "000004b0"
        BEGIN
            VALUE "CompanyName", "Paper"
            VALUE "FileDescription", RC_INFO_STRING
            VALUE "FileVersion", VER_FILEVERSION_STR
            VALUE "InternalName", "minori"
            VALUE "OriginalFilename", "minori.exe"
            VALUE "ProductName", "Minori"
            VALUE "ProductVersion", VER_PRODUCTVERSION_STR
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1252
    END
END