/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/launcher/Plugins/Microsoft.Plugin.Program/ProgramPluginSettings.cs
34 строки
1 KB
Heiko
[PTRun][Program]Run commands: Support for MSC and CPL (#23668)
13 фев 2023, 22:15
Не верифицирован
13 фев 2023, 22:15
e4e1b5b
Код
Авторство
О чём код?
// 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 = ';'; } }