Add display of all loaded applications

This commit is contained in:
Jeremy Wu
2019-09-06 08:06:51 +10:00
parent f51c391e84
commit 9d3f0d45d5
7 changed files with 43 additions and 10 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.IO;
using Wox.Plugin.Program.Programs;
namespace Wox.Plugin.Program
@@ -18,9 +19,11 @@ namespace Wox.Plugin.Program
public class ProgramSource
{
private string name;
public string Location { get; set; }
public string LocationFile { get; set; }
public bool EnableIndexing { get; set; } = true;
public string Name { get => name ?? new DirectoryInfo(Location).Name; set => name = value; }
public bool Enabled { get; set; } = true;
}
}
}