This commit is contained in:
bao-qian
2016-08-19 23:25:36 +01:00
parent 8684788f1f
commit f32f37cfbb
9 changed files with 7 additions and 7 deletions

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Wox.Plugin.Program.ProgramSources
{
[Serializable]
class StartMenu : Win32
{
public override List<Program> LoadPrograms()
{
var directory1 = Environment.GetFolderPath(Environment.SpecialFolder.Programs);
var directory2 = Environment.GetFolderPath(Environment.SpecialFolder.CommonPrograms);
var programs = new List<Program>();
GetAppFromDirectory(programs, directory1, MaxDepth);
GetAppFromDirectory(programs, directory2, MaxDepth);
return programs;
}
}
}