add slash to active explorer path return string

This commit is contained in:
Jeremy Wu 2023-01-11 07:51:05 +11:00
parent 5e0adbaf36
commit a54fe210d0

View file

@ -15,7 +15,7 @@ namespace Flow.Launcher.Infrastructure
{
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;
}
/// <summary>