mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
use shell when opening directories
This commit is contained in:
parent
a1353d5249
commit
7277373d84
1 changed files with 2 additions and 1 deletions
|
|
@ -112,10 +112,11 @@ namespace Flow.Launcher.Plugin.SharedCommands
|
|||
|
||||
public static void OpenLocationInExporer(string location)
|
||||
{
|
||||
var psi = new ProcessStartInfo { FileName = FileExplorerProgramName, UseShellExecute = true, Arguments = location };
|
||||
try
|
||||
{
|
||||
if (LocationExists(location))
|
||||
Process.Start(FileExplorerProgramName, location);
|
||||
Process.Start(psi);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue