Merge pull request #4203 from Flow-Launcher/shell_path

Fix ShellPath directory for shell path selection
This commit is contained in:
Jack Ye 2026-01-11 21:07:39 +08:00 committed by GitHub
commit 4e56cb4e74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -532,7 +532,7 @@ namespace Flow.Launcher.Plugin.Explorer.ViewModels
[RelayCommand]
private void OpenShellPath()
{
var path = PromptUserSelectPath(ResultType.File, Settings.EditorPath != null ? Path.GetDirectoryName(Settings.EditorPath) : null);
var path = PromptUserSelectPath(ResultType.File, Settings.ShellPath != null ? Path.GetDirectoryName(Settings.ShellPath) : null);
if (path is null)
return;