Skip to content

Commit 46ed642

Browse files
committed
Fix file path not opening
1 parent 8ae1a91 commit 46ed642

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs

Lines changed: 2 additions & 2 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;
@@ -115,7 +115,7 @@ public static void OpenLocationInExporer(string location)
115115
var psi = new ProcessStartInfo { FileName = FileExplorerProgramName, UseShellExecute = true, Arguments = location };
116116
try
117117
{
118-
if (LocationExists(location))
118+
if (LocationExists(fileOrFolderPath) || FileExits(fileOrFolderPath))
119119
Process.Start(psi);
120120
}
121121
catch (Exception e)

0 commit comments

Comments
 (0)