Merge pull request #2080 from VictoriousRaptor/FixFilesAppSupport

Use shell execute to fix Files App support
This commit is contained in:
VictoriousRaptor 2023-04-23 01:36:27 +08:00 committed by GitHub
commit 91dff84c24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -200,6 +200,7 @@ namespace Flow.Launcher
explorer.StartInfo = new ProcessStartInfo
{
FileName = explorerInfo.Path,
UseShellExecute = true,
Arguments = FileNameOrFilePath is null
? explorerInfo.DirectoryArgument.Replace("%d", DirectoryPath)
: explorerInfo.FileArgument