Skip to content

Commit 13eba18

Browse files
Disable PATH programs by default
1 parent 9c369c4 commit 13eba18

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ public static Win32[] All(Settings settings)
620620
autoIndexPrograms = autoIndexPrograms.Concat(startMenu);
621621
}
622622

623-
if (settings.EnablePATHSource)
623+
if (settings.EnablePathSource)
624624
{
625625
var path = PATHPrograms(settings.GetSuffixes(), protocols, commonParents);
626626
programs = programs.Concat(path);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private void RemoveRedundantSuffixes()
118118
public bool EnableDescription { get; set; } = false;
119119
public bool HideAppsPath { get; set; } = true;
120120
public bool EnableRegistrySource { get; set; } = true;
121-
public bool EnablePATHSource { get; set; } = true;
121+
public bool EnablePathSource { get; set; } = false;
122122

123123
public string CustomizedExplorer { get; set; } = Explorer;
124124
public string CustomizedArgs { get; set; } = ExplorerArgs;

Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ public bool EnableStartMenuSource
6969

7070
public bool EnablePATHSource
7171
{
72-
get => _settings.EnablePATHSource;
72+
get => _settings.EnablePathSource;
7373
set
7474
{
75-
_settings.EnablePATHSource = value;
75+
_settings.EnablePathSource = value;
7676
ReIndexing();
7777
}
7878
}

0 commit comments

Comments
 (0)