// ObsidianDragon Windows Resource File
// Application icon — shown in Explorer, taskbar, and Alt-Tab
// Path configured by CMake (absolute path for cross-compilation)
// Use numeric ordinal 1 so LoadIcon(hInst, MAKEINTRESOURCE(1)) finds it.
1 ICON "@OBSIDIAN_ICO_PATH@"

// ---------------------------------------------------------------------------
// Application Manifest — declares DPI awareness, common controls v6,
// UTF-8 code page, and application identity.  Without this, Windows may
// fall back to legacy process grouping in Task Manager.
// ---------------------------------------------------------------------------
1 24 "@OBSIDIAN_MANIFEST_PATH@"

// ---------------------------------------------------------------------------
// VERSIONINFO — sets the description shown in Task Manager, Explorer
// "Details" tab, and other Windows tools.  Without this, MinGW-w64
// fills in its own runtime description ("POSIX WinThreads for Windows").
// ---------------------------------------------------------------------------
#include <winver.h>

VS_VERSION_INFO VERSIONINFO
 FILEVERSION    @DRAGONX_APP_VERSION_MAJOR@,@DRAGONX_APP_VERSION_MINOR@,@DRAGONX_APP_VERSION_PATCH@,0
 PRODUCTVERSION @DRAGONX_APP_VERSION_MAJOR@,@DRAGONX_APP_VERSION_MINOR@,@DRAGONX_APP_VERSION_PATCH@,0
 FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
 FILEFLAGS      0x0L
 FILEOS         VOS_NT_WINDOWS32
 FILETYPE       VFT_APP
 FILESUBTYPE    VFT2_UNKNOWN
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904B0"          // US-English, Unicode
        BEGIN
            VALUE "CompanyName",      "DragonX Developers\0"
            VALUE "FileDescription",  "@DRAGONX_APP_NAME@ Wallet\0"
            VALUE "FileVersion",      "@DRAGONX_APP_VERSION@@DRAGONX_APP_VERSION_SUFFIX@\0"
            VALUE "InternalName",     "@DRAGONX_APP_NAME@\0"
            VALUE "LegalCopyright",   "Copyright 2024-2026 DragonX Developers. GPLv3.\0"
            VALUE "OriginalFilename", "@DRAGONX_APP_NAME@.exe\0"
            VALUE "ProductName",      "@DRAGONX_APP_NAME@\0"
            VALUE "ProductVersion",   "@DRAGONX_APP_VERSION@@DRAGONX_APP_VERSION_SUFFIX@\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200   // US-English, Unicode
    END
END
