From 46ed642298e08c494f14733352c9e03e1962816c Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Wed, 29 Apr 2020 18:58:21 +1000 Subject: [PATCH] Fix file path not opening --- Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs b/Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs index 7165804a4..5c0c1bc7a 100644 --- a/Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs +++ b/Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.IO; using System.Windows; @@ -115,7 +115,7 @@ namespace Flow.Launcher.Plugin.SharedCommands var psi = new ProcessStartInfo { FileName = FileExplorerProgramName, UseShellExecute = true, Arguments = location }; try { - if (LocationExists(location)) + if (LocationExists(fileOrFolderPath) || FileExits(fileOrFolderPath)) Process.Start(psi); } catch (Exception e)