Fix log message issue

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jack Ye 2025-04-09 13:08:28 +08:00 committed by GitHub
parent da8a69038a
commit f5de5d70db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -254,9 +254,8 @@ namespace Flow.Launcher.Plugin.Program
_uwpsCount = _uwps.Count;
_uwpsLock.Release();
});
Context.API.LogInfo(ClassName, "Number of preload win32 programs <{_win32sCount}>");
Context.API.LogInfo(ClassName, "Number of preload uwps <{_uwpsCount}>");
Context.API.LogInfo(ClassName, $"Number of preload win32 programs <{_win32sCount}>");
Context.API.LogInfo(ClassName, $"Number of preload uwps <{_uwpsCount}>");
var cacheEmpty = _win32sCount == 0 || _uwpsCount == 0;
if (cacheEmpty || _settings.LastIndexTime.AddHours(30) < DateTime.Now)