Revert "Disable PATH by default"

This commit is contained in:
Vic 2022-12-18 13:35:38 +08:00
parent 68bc6fb139
commit d3bae93a47
3 changed files with 4 additions and 4 deletions

View file

@ -620,7 +620,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
autoIndexPrograms = autoIndexPrograms.Concat(startMenu);
}
if (settings.EnablePathSource)
if (settings.EnablePATHSource)
{
var path = PATHPrograms(settings.GetSuffixes(), protocols, commonParents);
programs = programs.Concat(path);

View file

@ -118,7 +118,7 @@ namespace Flow.Launcher.Plugin.Program
public bool EnableDescription { get; set; } = false;
public bool HideAppsPath { get; set; } = true;
public bool EnableRegistrySource { get; set; } = true;
public bool EnablePathSource { get; set; } = false;
public bool EnablePATHSource { get; set; } = true;
public bool EnableUWP { get; set; } = true;
public string CustomizedExplorer { get; set; } = Explorer;

View file

@ -69,10 +69,10 @@ namespace Flow.Launcher.Plugin.Program.Views
public bool EnablePATHSource
{
get => _settings.EnablePathSource;
get => _settings.EnablePATHSource;
set
{
_settings.EnablePathSource = value;
_settings.EnablePATHSource = value;
ReIndexing();
}
}