[win-linux] updatesvc: small refactoring

This commit is contained in:
SimplestStudio
2025-06-24 11:33:27 +03:00
parent 4190a88198
commit d61c30eb99
2 changed files with 3 additions and 3 deletions

View File

@ -44,8 +44,8 @@
#define DECL_VERSION __attribute__((section(".version_info"), unused))
volatile static const char DECL_VERSION version[] = VER_STRING;
static const char gSvcVersion[] = "Service version: " VER_STRING;
volatile static const char DECL_VERSION version[] = VER_FILEVERSION_STR;
static const char gSvcVersion[] = "Service version: " VER_FILEVERSION_STR;
void strToNum(const char *str, int &num)
{

View File

@ -44,7 +44,7 @@
SERVICE_STATUS gSvcStatus;
SERVICE_STATUS_HANDLE gSvcStatusHandle;
HANDLE gSvcStopEvent = NULL;
static const WCHAR gSvcVersion[] = _T("Service version: " VER_STRING);
static const WCHAR gSvcVersion[] = _T("Service version: " VER_FILEVERSION_STR);
VOID WINAPI SvcMain(DWORD argc, LPTSTR *argv);