diff --git a/Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs b/Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs index e59781bd2..a0e496a0d 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs +++ b/Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs @@ -325,8 +325,8 @@ namespace Flow.Launcher.Plugin.Program.Programs Action = _ => { Main.StartProcess(Process.Start, new ProcessStartInfo( - !string.IsNullOrEmpty(Main._settings.CustomizedExploere)?Main._settings.CustomizedExploere:"exploere" - , (Main._settings.CustomizedArgs + " " + ParentDirectory).Trim())); + !string.IsNullOrEmpty(Main._settings.CustomizedExploere) ? Main._settings.CustomizedExploere:"exploere", + $"{Main._settings.CustomizedArgs} \"{Package.Location}\"".Trim())); return true; }, diff --git a/Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs b/Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs index c629c218a..7d3141c81 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs +++ b/Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs @@ -141,8 +141,8 @@ namespace Flow.Launcher.Plugin.Program.Programs Action = _ => { Main.StartProcess(Process.Start, new ProcessStartInfo( - !string.IsNullOrEmpty(Main._settings.CustomizedExploere)?Main._settings.CustomizedExploere:"exploere" - , (Main._settings.CustomizedArgs + " " + ParentDirectory).Trim())); + !string.IsNullOrEmpty(Main._settings.CustomizedExploere) ? Main._settings.CustomizedExploere:"exploere", + $"{Main._settings.CustomizedArgs} \"{ParentDirectory}\"".Trim())); return true; }, IcoPath = "Images/folder.png"