mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
remove unused stop watcher
This commit is contained in:
parent
196cf1cd18
commit
a5aa305773
1 changed files with 0 additions and 10 deletions
|
|
@ -147,23 +147,13 @@ namespace Wox.Plugin.Program.Programs
|
|||
var support = Environment.OSVersion.Version.Major >= windows10.Major;
|
||||
if (support)
|
||||
{
|
||||
var watch = new System.Diagnostics.Stopwatch();
|
||||
watch.Start();
|
||||
|
||||
var applications = CurrentUserPackages().AsParallel().SelectMany(p => new UWP(p).Apps).ToArray();
|
||||
|
||||
watch.Stop();
|
||||
Log.Info("UWP ALL" + watch.ElapsedMilliseconds);
|
||||
|
||||
return applications;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return new Application[] { };
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private static IEnumerable<Package> CurrentUserPackages()
|
||||
|
|
|
|||
Loading…
Reference in a new issue