Skip to content

Commit 85256ef

Browse files
Comments
1 parent 7d27d73 commit 85256ef

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ private static string Extension(string path)
370370

371371
private static IEnumerable<Win32> UnregisteredPrograms(List<ProgramSource> sources, string[] suffixes, string[] protocols)
372372
{
373+
// Disabled custom sources are not in DisabledProgramSources
373374
var paths = ExceptDisabledSource(sources.Where(s => Directory.Exists(s.Location) && s.Enabled)
374375
.AsParallel()
375376
.SelectMany(s => ProgramPaths(s.Location, suffixes)))

Plugins/Flow.Launcher.Plugin.Program/Settings.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,15 @@ namespace Flow.Launcher.Plugin.Program
99
public class Settings
1010
{
1111
public DateTime LastIndexTime { get; set; }
12+
13+
/// <summary>
14+
/// User-added program sources' directories
15+
/// </summary>
1216
public List<ProgramSource> ProgramSources { get; set; } = new List<ProgramSource>();
17+
18+
/// <summary>
19+
/// Disabled single programs, not including User-added directories
20+
/// </summary>
1321
public List<ProgramSource> DisabledProgramSources { get; set; } = new List<ProgramSource>();
1422

1523
[Obsolete, JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]

0 commit comments

Comments
 (0)