mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
more whitespace
This commit is contained in:
parent
43cf3ded87
commit
2e0923d25b
1 changed files with 5 additions and 5 deletions
|
|
@ -205,7 +205,9 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
||||||
{
|
{
|
||||||
var info = new ProcessStartInfo
|
var info = new ProcessStartInfo
|
||||||
{
|
{
|
||||||
FileName = FullPath, WorkingDirectory = ParentDirectory, UseShellExecute = true
|
FileName = FullPath,
|
||||||
|
WorkingDirectory = ParentDirectory,
|
||||||
|
UseShellExecute = true
|
||||||
};
|
};
|
||||||
|
|
||||||
Task.Run(() => Main.StartProcess(ShellCommand.RunAsDifferentUser, info));
|
Task.Run(() => Main.StartProcess(ShellCommand.RunAsDifferentUser, info));
|
||||||
|
|
@ -423,10 +425,8 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
||||||
if (!Directory.Exists(directory))
|
if (!Directory.Exists(directory))
|
||||||
return Enumerable.Empty<string>();
|
return Enumerable.Empty<string>();
|
||||||
|
|
||||||
return Directory
|
return Directory.EnumerateFiles(
|
||||||
.EnumerateFiles(
|
directory, "*",
|
||||||
directory,
|
|
||||||
"*",
|
|
||||||
new EnumerationOptions { IgnoreInaccessible = true, RecurseSubdirectories = recursive })
|
new EnumerationOptions { IgnoreInaccessible = true, RecurseSubdirectories = recursive })
|
||||||
.Where(x => suffixes.Contains(Extension(x)));
|
.Where(x => suffixes.Contains(Extension(x)));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue