File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Plugins/Flow.Launcher.Plugin.Program Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -594,7 +594,7 @@ public static Win32[] All(Settings settings)
594
594
595
595
if ( settings . EnablePATHSource )
596
596
{
597
- var path = PATHPrograms ( settings . ProgramSuffixes ) ;
597
+ var path = PATHPrograms ( settings . GetSuffixes ( ) ) ;
598
598
autoIndexPrograms = autoIndexPrograms . Concat ( path ) ;
599
599
}
600
600
Original file line number Diff line number Diff line change 3
3
using System . IO ;
4
4
using System . Linq ;
5
5
using System . Text . Json . Serialization ;
6
+ using PropertyChanged ;
6
7
using Windows . Foundation . Metadata ;
7
8
8
9
namespace Flow . Launcher . Plugin . Program
@@ -13,7 +14,7 @@ public class Settings
13
14
public List < ProgramSource > ProgramSources { get ; set ; } = new List < ProgramSource > ( ) ;
14
15
public List < DisabledProgramSource > DisabledProgramSources { get ; set ; } = new List < DisabledProgramSource > ( ) ;
15
16
16
- [ Obsolete , JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
17
+ [ Obsolete ( "Should use GetSuffixes() instead." ) , JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
17
18
public string [ ] ProgramSuffixes { get ; set ; } = null ;
18
19
public string [ ] CustomSuffixes { get ; set ; } = Array . Empty < string > ( ) ; // Custom suffixes only
19
20
public string [ ] CustomProtocols { get ; set ; } = Array . Empty < string > ( ) ;
You can’t perform that action at this time.
0 commit comments