mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Update opening directory location to use shared plugin command
This commit is contained in:
parent
13217d1e72
commit
ef0cd2bf7c
1 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue