mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 17:56:44 +02:00
Program plugin logs (#11497)
This commit is contained in:
@@ -9,6 +9,7 @@ using Microsoft.Plugin.Program.Logger;
|
||||
using Microsoft.Plugin.Program.Programs;
|
||||
using Windows.ApplicationModel;
|
||||
using Wox.Infrastructure.Storage;
|
||||
using Wox.Plugin.Logger;
|
||||
|
||||
namespace Microsoft.Plugin.Program.Storage
|
||||
{
|
||||
@@ -80,6 +81,7 @@ namespace Microsoft.Plugin.Program.Storage
|
||||
var support = Environment.OSVersion.Version.Major >= windows10.Major;
|
||||
|
||||
var applications = support ? Programs.UWP.All() : Array.Empty<UWPApplication>();
|
||||
Log.Info($"Indexed {applications.Length} packaged applications", GetType());
|
||||
SetList(applications);
|
||||
}
|
||||
|
||||
|
||||
@@ -243,6 +243,7 @@ namespace Microsoft.Plugin.Program.Storage
|
||||
public void IndexPrograms()
|
||||
{
|
||||
var applications = Programs.Win32Program.All(_settings);
|
||||
Log.Info($"Indexed {applications.Length} win32 applications", GetType());
|
||||
SetList(applications);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user