mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 19:49:15 +08:00
Forgot to remove some lines.
No longer opening explorer with admin rights.
This commit is contained in:
parent
4672628ee2
commit
b30f3d6b8f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user