Skip to content

Commit

Permalink
[PTRun][Program]Apply settings from program json file (#19632)
Browse files Browse the repository at this point in the history
Added setters to properties so that they can be overruled when already stored as json in the localappdata folder
  • Loading branch information
yveslaurentcreton committed Jul 27, 2022
1 parent c8458dc commit 2979bfb
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -11,11 +11,11 @@ public class ProgramPluginSettings
{
public DateTime LastIndexTime { get; set; }

public List<ProgramSource> ProgramSources { get; } = new List<ProgramSource>();
public List<ProgramSource> ProgramSources { get; set; } = new List<ProgramSource>();

public List<DisabledProgramSource> DisabledProgramSources { get; } = new List<DisabledProgramSource>();
public List<DisabledProgramSource> DisabledProgramSources { get; set; } = new List<DisabledProgramSource>();

public List<string> ProgramSuffixes { get; } = new List<string>() { "bat", "appref-ms", "exe", "lnk", "url" };
public List<string> ProgramSuffixes { get; set; } = new List<string>() { "bat", "appref-ms", "exe", "lnk", "url" };

public bool EnableStartMenuSource { get; set; } = true;

Expand Down

0 comments on commit 2979bfb

Please sign in to comment.