From 2979bfbc42b582c240c4adf92332f8d18c77074d Mon Sep 17 00:00:00 2001 From: Yves-Laurent Creton <52154171+BEzGumpTion@users.noreply.github.com> Date: Wed, 27 Jul 2022 12:33:44 +0200 Subject: [PATCH] [PTRun][Program]Apply settings from program json file (#19632) Added setters to properties so that they can be overruled when already stored as json in the localappdata folder --- .../Microsoft.Plugin.Program/ProgramPluginSettings.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/ProgramPluginSettings.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/ProgramPluginSettings.cs index 96025e4e59..7fab608c86 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/ProgramPluginSettings.cs +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/ProgramPluginSettings.cs @@ -11,11 +11,11 @@ namespace Microsoft.Plugin.Program { public DateTime LastIndexTime { get; set; } - public List ProgramSources { get; } = new List(); + public List ProgramSources { get; set; } = new List(); - public List DisabledProgramSources { get; } = new List(); + public List DisabledProgramSources { get; set; } = new List(); - public List ProgramSuffixes { get; } = new List() { "bat", "appref-ms", "exe", "lnk", "url" }; + public List ProgramSuffixes { get; set; } = new List() { "bat", "appref-ms", "exe", "lnk", "url" }; public bool EnableStartMenuSource { get; set; } = true;