Forgot to remove some lines.

No longer opening explorer with admin rights.
This commit is contained in:
Boelensman1
2015-01-30 15:54:02 +01:00
parent 4672628ee2
commit b30f3d6b8f

View File

@@ -62,9 +62,6 @@ namespace Wox.Plugin.Program
Title = "Open Containing Folder", Title = "Open Containing Folder",
Action = _ => Action = _ =>
{ {
context.API.HideApp();
context.API.ShellRun(c.ExecutePath,true);
context.API.HideApp(); context.API.HideApp();
String Path=c.ExecutePath; String Path=c.ExecutePath;
//check if shortcut //check if shortcut
@@ -76,7 +73,7 @@ namespace Wox.Plugin.Program
//get parent folder //get parent folder
Path=System.IO.Directory.GetParent(Path).FullName; Path=System.IO.Directory.GetParent(Path).FullName;
//open the folder //open the folder
context.API.ShellRun("explorer.exe "+Path,true); context.API.ShellRun("explorer.exe "+Path,false);
return true; return true;
}, },
IcoPath = "Images/folder.png" IcoPath = "Images/folder.png"