From 951d2932a8f663422d78a5bd5696692c3358f9d7 Mon Sep 17 00:00:00 2001 From: wiktorwiktor12 Date: Wed, 29 May 2024 22:15:49 +0100 Subject: [PATCH] use 192x192 version for high res, looks better when rendered at 128x128 --- ConsoleLogonHook/util/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConsoleLogonHook/util/util.h b/ConsoleLogonHook/util/util.h index 6529e74..e85c10e 100644 --- a/ConsoleLogonHook/util/util.h +++ b/ConsoleLogonHook/util/util.h @@ -177,7 +177,7 @@ static std::wstring GetProfilePicturePathFromSID(std::wstring sid, bool bHighRes std::wstring finalpath = L"C:\\ProgramData\\Microsoft\\User Account Pictures\\user-48.png"; if (bHighRes) - finalpath = L"C:\\ProgramData\\Microsoft\\User Account Pictures\\user.png"; + finalpath = L"C:\\ProgramData\\Microsoft\\User Account Pictures\\user-192.png"; //WCHAR* str = 0; //auto hr = GetSIDStringFromUsername(username.c_str(), &str);