Skip to content

Commit 35fb999

Browse files
authored
Merge pull request #1676 from VictoriousRaptor/DisablePATHSource
Disable PATH programs by default
2 parents 2e1b402 + d0b5a5a commit 35fb999

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
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
}

Plugins/Flow.Launcher.Plugin.Program/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Name": "Program",
55
"Description": "Search programs in Flow.Launcher",
66
"Author": "qianlifeng",
7-
"Version": "2.0.0",
7+
"Version": "2.0.1",
88
"Language": "csharp",
99
"Website": "https://github.com/Flow-Launcher/Flow.Launcher",
1010
"ExecuteFileName": "Flow.Launcher.Plugin.Program.dll",

0 commit comments

Comments
 (0)