mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
parent
9034d6194a
commit
3a8a16bf48
1 changed files with 10 additions and 1 deletions
|
|
@ -79,7 +79,16 @@ namespace Wox.Plugin.Program
|
|||
});
|
||||
var t2 = Task.Run(() =>
|
||||
{
|
||||
u = UWP.All();
|
||||
var windows10 = new Version(10, 0);
|
||||
var support = Environment.OSVersion.Version.Major >= windows10.Major;
|
||||
if (support)
|
||||
{
|
||||
u = UWP.All();
|
||||
}
|
||||
else
|
||||
{
|
||||
u = new UWP.Application[] { };
|
||||
}
|
||||
});
|
||||
Task.WaitAll(t1, t2);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue