feat(packaging): dynamically resolve installer version info from build context
CI Test Suite / Run Component Tests & Pipeline Verification (push) Successful in 1m31s
Release Binaries & Packages / Build & Release Standalone Binaries (Linux & Windows Cross-Compilation) (push) Successful in 3m50s

This commit is contained in:
2026-09-30 18:18:53 +02:00
parent 959f2977f0
commit 41d7d66a56
6 changed files with 177 additions and 16 deletions
+14 -3
View File
@@ -9,13 +9,24 @@ RequestExecutionLevel admin
BrandingText "LOGAR Centralized Log Aggregator && Forwarder"
VIProductVersion "0.3.5.1"
!ifFileExists "version.nsh"
!include "version.nsh"
!endif
!ifndef APP_VERSION
!define APP_VERSION "0.0.0.0"
!endif
!ifndef DISPLAY_VERSION
!define DISPLAY_VERSION "${APP_VERSION}"
!endif
VIProductVersion "${APP_VERSION}"
VIAddVersionKey "ProductName" "LOGAR Client"
VIAddVersionKey "CompanyName" "LOGAR"
VIAddVersionKey "LegalCopyright" "© 2026 LOGAR"
VIAddVersionKey "FileDescription" "LOGAR Windows Edge Log Forwarder Setup"
VIAddVersionKey "FileVersion" "0.3.5.1"
VIAddVersionKey "ProductVersion" "0.3.5.1"
VIAddVersionKey "FileVersion" "${APP_VERSION}"
VIAddVersionKey "ProductVersion" "${DISPLAY_VERSION}"
# --- Visual Graphics & Branding ---
!define MUI_ICON "assets/logo.ico"