PowerToys/Plugins/Wox.Plugin.Program/Settings.cs
Jeremy Wu f51c391e84 Enable user selected program loading only
Update logic, add program source only loading
2019-09-05 08:05:17 +10:00

27 lines
797 B
C#

using System.Collections.Generic;
using Wox.Plugin.Program.Programs;
namespace Wox.Plugin.Program
{
public class Settings
{
public List<ProgramSource> ProgramSources { get; set; } = new List<ProgramSource>();
public string[] ProgramSuffixes { get; set; } = {"bat", "appref-ms", "exe", "lnk"};
public bool EnableStartMenuSource { get; set; } = true;
public bool EnableRegistrySource { get; set; } = true;
public bool EnableProgramSourceOnly { get; set; } = false;
internal const char SuffixSeperator = ';';
public class ProgramSource
{
public string Location { get; set; }
public string LocationFile { get; set; }
public bool EnableIndexing { get; set; } = true;
}
}
}