mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
update property name and use const
This commit is contained in:
parent
51ea7abd6b
commit
d5d263be60
3 changed files with 4 additions and 4 deletions
|
|
@ -325,7 +325,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
|||
Action = _ =>
|
||||
{
|
||||
Main.StartProcess(Process.Start, new ProcessStartInfo(
|
||||
!string.IsNullOrEmpty(Main._settings.CustomizedExploere) ? Main._settings.CustomizedExploere:"exploere",
|
||||
!string.IsNullOrEmpty(Main._settings.CustomizedExplorer) ? Main._settings.CustomizedExplorer:Settings.Explorer,
|
||||
$"{Main._settings.CustomizedArgs} \"{Package.Location}\"".Trim()));
|
||||
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
|||
Action = _ =>
|
||||
{
|
||||
Main.StartProcess(Process.Start, new ProcessStartInfo(
|
||||
!string.IsNullOrEmpty(Main._settings.CustomizedExploere) ? Main._settings.CustomizedExploere:"exploere",
|
||||
!string.IsNullOrEmpty(Main._settings.CustomizedExplorer) ? Main._settings.CustomizedExplorer:Settings.Explorer,
|
||||
$"{Main._settings.CustomizedArgs} \"{ParentDirectory}\"".Trim()));
|
||||
return true;
|
||||
},
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ namespace Flow.Launcher.Plugin.Program.Views
|
|||
StartMenuEnabled.IsChecked = _settings.EnableStartMenuSource;
|
||||
RegistryEnabled.IsChecked = _settings.EnableRegistrySource;
|
||||
|
||||
CustomizeExplorerBox.Text = _settings.CustomizedExploere;
|
||||
CustomizeExplorerBox.Text = _settings.CustomizedExplorer;
|
||||
CustomizeArgsBox.Text = _settings.CustomizedArgs;
|
||||
|
||||
ViewRefresh();
|
||||
|
|
@ -332,7 +332,7 @@ namespace Flow.Launcher.Plugin.Program.Views
|
|||
|
||||
private void CustomizeExplorer(object sender, TextChangedEventArgs e)
|
||||
{
|
||||
_settings.CustomizedExploere = CustomizeExplorerBox.Text;
|
||||
_settings.CustomizedExplorer = CustomizeExplorerBox.Text;
|
||||
}
|
||||
|
||||
private void CustomizeExplorerArgs(object sender, TextChangedEventArgs e)
|
||||
|
|
|
|||
Loading…
Reference in a new issue