From a54fe210d03704e0f3e0a351b5eb505b23500454 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Wed, 11 Jan 2023 07:51:05 +1100 Subject: [PATCH] add slash to active explorer path return string --- Flow.Launcher.Infrastructure/FileExplorerHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher.Infrastructure/FileExplorerHelper.cs b/Flow.Launcher.Infrastructure/FileExplorerHelper.cs index a3b1bd6b7e6..76695a4e31e 100644 --- a/Flow.Launcher.Infrastructure/FileExplorerHelper.cs +++ b/Flow.Launcher.Infrastructure/FileExplorerHelper.cs @@ -15,7 +15,7 @@ public static string GetActiveExplorerPath() { var explorerWindow = GetActiveExplorer(); string locationUrl = explorerWindow?.LocationURL; - return !string.IsNullOrEmpty(locationUrl) ? new Uri(locationUrl).LocalPath : null; + return !string.IsNullOrEmpty(locationUrl) ? new Uri(locationUrl).LocalPath + "\\" : null; } ///