Skip to content

Commit 9de105b

Browse files
committed
Add customized args
1 parent 5ba4e51 commit 9de105b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ public List<Result> ContextMenus(IPublicAPI api)
325325
Action = _ =>
326326
{
327327
Main.StartProcess(Process.Start, new ProcessStartInfo(
328-
!string.IsNullOrEmpty(Main._settings.CustomizedExploere)?Main._settings.CustomizedExploere:"exploere"
329-
, (Main._settings.CustomizedArgs + " " + ParentDirectory).Trim()));
328+
!string.IsNullOrEmpty(Main._settings.CustomizedExploere) ? Main._settings.CustomizedExploere:"exploere",
329+
$"{Main._settings.CustomizedArgs} \"{Package.Location}\"".Trim()));
330330

331331
return true;
332332
},

Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ public List<Result> ContextMenus(IPublicAPI api)
141141
Action = _ =>
142142
{
143143
Main.StartProcess(Process.Start, new ProcessStartInfo(
144-
!string.IsNullOrEmpty(Main._settings.CustomizedExploere)?Main._settings.CustomizedExploere:"exploere"
145-
, (Main._settings.CustomizedArgs + " " + ParentDirectory).Trim()));
144+
!string.IsNullOrEmpty(Main._settings.CustomizedExploere) ? Main._settings.CustomizedExploere:"exploere",
145+
$"{Main._settings.CustomizedArgs} \"{ParentDirectory}\"".Trim()));
146146
return true;
147147
},
148148
IcoPath = "Images/folder.png"

0 commit comments

Comments
 (0)