use shell when opening directories

This commit is contained in:
Jeremy Wu 2020-04-24 07:59:24 +10:00
parent a1353d5249
commit 7277373d84

View file

@ -112,10 +112,11 @@ namespace Flow.Launcher.Plugin.SharedCommands
public static void OpenLocationInExporer(string location)
{
var psi = new ProcessStartInfo { FileName = FileExplorerProgramName, UseShellExecute = true, Arguments = location };
try
{
if (LocationExists(location))
Process.Start(FileExplorerProgramName, location);
Process.Start(psi);
}
catch (Exception e)
{