Skip to content

Commit f8346e4

Browse files
Merge update
1 parent da755fa commit f8346e4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ public static Win32[] All(Settings settings)
594594

595595
if (settings.EnablePATHSource)
596596
{
597-
var path = PATHPrograms(settings.ProgramSuffixes);
597+
var path = PATHPrograms(settings.GetSuffixes());
598598
autoIndexPrograms = autoIndexPrograms.Concat(path);
599599
}
600600

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.IO;
44
using System.Linq;
55
using System.Text.Json.Serialization;
6+
using PropertyChanged;
67
using Windows.Foundation.Metadata;
78

89
namespace Flow.Launcher.Plugin.Program
@@ -13,7 +14,7 @@ public class Settings
1314
public List<ProgramSource> ProgramSources { get; set; } = new List<ProgramSource>();
1415
public List<DisabledProgramSource> DisabledProgramSources { get; set; } = new List<DisabledProgramSource>();
1516

16-
[Obsolete, JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
17+
[Obsolete("Should use GetSuffixes() instead."), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
1718
public string[] ProgramSuffixes { get; set; } = null;
1819
public string[] CustomSuffixes { get; set; } = Array.Empty<string>(); // Custom suffixes only
1920
public string[] CustomProtocols { get; set; } = Array.Empty<string>();

0 commit comments

Comments
 (0)