From b30f3d6b8ff1e17c6bfd21dd77711d760007d48c Mon Sep 17 00:00:00 2001 From: Boelensman1 Date: Fri, 30 Jan 2015 15:54:02 +0100 Subject: [PATCH] Forgot to remove some lines. No longer opening explorer with admin rights. --- Plugins/Wox.Plugin.Program/Programs.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Plugins/Wox.Plugin.Program/Programs.cs b/Plugins/Wox.Plugin.Program/Programs.cs index 07d1c73f07..7028848b83 100644 --- a/Plugins/Wox.Plugin.Program/Programs.cs +++ b/Plugins/Wox.Plugin.Program/Programs.cs @@ -62,9 +62,6 @@ namespace Wox.Plugin.Program Title = "Open Containing Folder", Action = _ => { - context.API.HideApp(); - context.API.ShellRun(c.ExecutePath,true); - context.API.HideApp(); String Path=c.ExecutePath; //check if shortcut @@ -76,7 +73,7 @@ namespace Wox.Plugin.Program //get parent folder Path=System.IO.Directory.GetParent(Path).FullName; //open the folder - context.API.ShellRun("explorer.exe "+Path,true); + context.API.ShellRun("explorer.exe "+Path,false); return true; }, IcoPath = "Images/folder.png"