Skip to content

Commit ef0cd2b

Browse files
committed
Update opening directory location to use shared plugin command
1 parent 13217d1 commit ef0cd2b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Flow.Launcher/SettingWindow.xaml.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Diagnostics;
33
using System.IO;
44
using System.Windows;
@@ -240,10 +240,8 @@ private void OnPluginDirecotyClick(object sender, MouseButtonEventArgs e)
240240
if (e.ChangedButton == MouseButton.Left)
241241
{
242242
var directory = _viewModel.SelectedPlugin.PluginPair.Metadata.PluginDirectory;
243-
if (!string.IsNullOrEmpty(directory) && Directory.Exists(directory))
244-
{
245-
Process.Start(directory);
246-
}
243+
if (!string.IsNullOrEmpty(directory))
244+
FilesFolders.OpenLocationInExporer(directory);
247245
}
248246
}
249247
#endregion

0 commit comments

Comments
 (0)