From ef0cd2bf7c8205f9b3ac72e0a6a78d74808edc5e Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Thu, 23 Apr 2020 20:11:39 +1000 Subject: [PATCH] Update opening directory location to use shared plugin command --- Flow.Launcher/SettingWindow.xaml.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Flow.Launcher/SettingWindow.xaml.cs b/Flow.Launcher/SettingWindow.xaml.cs index 296812792..af8a148da 100644 --- a/Flow.Launcher/SettingWindow.xaml.cs +++ b/Flow.Launcher/SettingWindow.xaml.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.IO; using System.Windows; @@ -240,10 +240,8 @@ namespace Flow.Launcher if (e.ChangedButton == MouseButton.Left) { var directory = _viewModel.SelectedPlugin.PluginPair.Metadata.PluginDirectory; - if (!string.IsNullOrEmpty(directory) && Directory.Exists(directory)) - { - Process.Start(directory); - } + if (!string.IsNullOrEmpty(directory)) + FilesFolders.OpenLocationInExporer(directory); } } #endregion