mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 20:57:22 +02:00
Forgot to remove some lines.
No longer opening explorer with admin rights.
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user