File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Plugins/Flow.Launcher.Plugin.Program Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -370,6 +370,7 @@ private static string Extension(string path)
370
370
371
371
private static IEnumerable < Win32 > UnregisteredPrograms ( List < ProgramSource > sources , string [ ] suffixes , string [ ] protocols )
372
372
{
373
+ // Disabled custom sources are not in DisabledProgramSources
373
374
var paths = ExceptDisabledSource ( sources . Where ( s => Directory . Exists ( s . Location ) && s . Enabled )
374
375
. AsParallel ( )
375
376
. SelectMany ( s => ProgramPaths ( s . Location , suffixes ) ) )
Original file line number Diff line number Diff line change @@ -9,7 +9,15 @@ namespace Flow.Launcher.Plugin.Program
9
9
public class Settings
10
10
{
11
11
public DateTime LastIndexTime { get ; set ; }
12
+
13
+ /// <summary>
14
+ /// User-added program sources' directories
15
+ /// </summary>
12
16
public List < ProgramSource > ProgramSources { get ; set ; } = new List < ProgramSource > ( ) ;
17
+
18
+ /// <summary>
19
+ /// Disabled single programs, not including User-added directories
20
+ /// </summary>
13
21
public List < ProgramSource > DisabledProgramSources { get ; set ; } = new List < ProgramSource > ( ) ;
14
22
15
23
[ Obsolete , JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
You can’t perform that action at this time.
0 commit comments