The full-node app and ObsidianDragonLite are now versioned separately: - project() VERSION -> 1.3.0 (suffix cleared); DRAGONX_LITE_VERSION -> 1.0.0. - A DRAGONX_APP_VERSION* set (resolved per variant in the lite/full block) feeds the generated header (version.h.in), the Windows VERSIONINFO/.rc + manifest, and the build summary — so each variant reports its own version. The .rc/manifest name fields also follow DRAGONX_APP_NAME so a lite .exe's properties read "ObsidianDragonLite". - build.sh resolves the release-filename version per variant by parsing CMakeLists (single source of truth) instead of a hardcoded string. Also fixes a latent variant-bleed: build.sh now passes DRAGONX_BUILD_LITE and DRAGONX_ENABLE_LITE_BACKEND explicitly (ON *and* OFF), so switching variants in a shared build dir can't reuse a stale cached value (a prior --lite build was making a subsequent full-node build produce the lite name/version). Both variants build + report the right version (full 1.3.0, lite 1.0.0); suite passes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
49 lines
2.2 KiB
Plaintext
49 lines
2.2 KiB
Plaintext
// 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
|