mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-08-26 08:06:33 +00:00
version logging
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include "pch.h"
|
||||
#include "Logger.h"
|
||||
#include "Config.h"
|
||||
#include "resource.h"
|
||||
#include "Util.h"
|
||||
|
||||
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
|
||||
@@ -12,9 +12,12 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv
|
||||
DisableThreadLibraryCalls(hModule);
|
||||
|
||||
dllModule = hModule;
|
||||
processId = GetCurrentProcessId();
|
||||
processId = GetCurrentProcessId();
|
||||
|
||||
PrepareLogger();
|
||||
|
||||
spdlog::info("OptiScaler v{0}.{1}.{2} loaded", VER_MAJOR_VERSION, VER_MINOR_VERSION, VER_HOTFIX_VERSION);
|
||||
|
||||
break;
|
||||
|
||||
case DLL_PROCESS_DETACH:
|
||||
|
||||
Reference in New Issue
Block a user