mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 20:57:22 +02:00
@@ -78,8 +78,17 @@ namespace Wox.Plugin.Program
|
|||||||
w = Win32.All(_settings);
|
w = Win32.All(_settings);
|
||||||
});
|
});
|
||||||
var t2 = Task.Run(() =>
|
var t2 = Task.Run(() =>
|
||||||
|
{
|
||||||
|
var windows10 = new Version(10, 0);
|
||||||
|
var support = Environment.OSVersion.Version.Major >= windows10.Major;
|
||||||
|
if (support)
|
||||||
{
|
{
|
||||||
u = UWP.All();
|
u = UWP.All();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
u = new UWP.Application[] { };
|
||||||
|
}
|
||||||
});
|
});
|
||||||
Task.WaitAll(t1, t2);
|
Task.WaitAll(t1, t2);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user