Add customized args

This commit is contained in:
弘韬 张 2020-11-04 21:56:45 +08:00
parent 5ba4e515f3
commit 9de105b1cb
2 changed files with 4 additions and 4 deletions

View file

@ -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;
},

View file

@ -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"