Skip to content

Commit 4efaa64

Browse files
Use shell execute to fix Files App support
1 parent c61d6f7 commit 4efaa64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Flow.Launcher/PublicAPIInstance.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ public void OpenDirectory(string DirectoryPath, string FileNameOrFilePath = null
202202
explorer.StartInfo = new ProcessStartInfo
203203
{
204204
FileName = explorerInfo.Path,
205+
UseShellExecute = true,
205206
Arguments = FileNameOrFilePath is null
206207
? explorerInfo.DirectoryArgument.Replace("%d", DirectoryPath)
207208
: explorerInfo.FileArgument

0 commit comments

Comments
 (0)