mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
35 lines
1.2 KiB
C#
35 lines
1.2 KiB
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Microsoft.Plugin.Program
|
|
{
|
|
public class ProgramPluginSettings
|
|
{
|
|
public DateTime LastIndexTime { get; set; }
|
|
|
|
public List<ProgramSource> ProgramSources { get; set; } = new List<ProgramSource>();
|
|
|
|
public List<DisabledProgramSource> DisabledProgramSources { get; set; } = new List<DisabledProgramSource>();
|
|
|
|
public List<string> ProgramSuffixes { get; set; } = new List<string>() { "bat", "appref-ms", "exe", "lnk", "url" };
|
|
|
|
public List<string> RunCommandSuffixes { get; set; } = new List<string>() { "bat", "appref-ms", "exe", "lnk", "url", "cpl", "msc" };
|
|
|
|
public bool EnableStartMenuSource { get; set; } = true;
|
|
|
|
public bool EnableDesktopSource { get; set; } = true;
|
|
|
|
public bool EnableRegistrySource { get; set; } = true;
|
|
|
|
public bool EnablePathEnvironmentVariableSource { get; set; } = true;
|
|
|
|
public double MinScoreThreshold { get; set; } = 0.75;
|
|
|
|
internal const char SuffixSeparator = ';';
|
|
}
|
|
}
|