mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-13 11:09:28 +08:00
fix uwp parts for #964
This commit is contained in:
parent
2c14f8b43b
commit
216e9c0125
@ -139,7 +139,9 @@ namespace Wox.Plugin.Program.Programs
|
||||
|
||||
private Application[] MergedApps()
|
||||
{
|
||||
|
||||
// todo can't find api, so just hard code it
|
||||
if (Location.Contains("SystemApps") || Location.Contains("WindowsApps"))
|
||||
{
|
||||
var infos = AppInfos();
|
||||
if (infos.Length > 0)
|
||||
{
|
||||
@ -158,10 +160,8 @@ namespace Wox.Plugin.Program.Programs
|
||||
}
|
||||
return apps;
|
||||
}
|
||||
else
|
||||
{
|
||||
return new Application[] { };
|
||||
}
|
||||
return new Application[] { };
|
||||
}
|
||||
|
||||
public static Application[] All()
|
||||
|
Loading…
Reference in New Issue
Block a user