Skip to content

Commit 207b29f

Browse files
Update comments
1 parent c6ff0a5 commit 207b29f

File tree

1 file changed

+5
-3
lines changed
  • Plugins/Flow.Launcher.Plugin.Program/Programs

1 file changed

+5
-3
lines changed

Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,17 @@ public class Win32 : IProgram, IEquatable<Win32>
3030
/// </summary>
3131
public string FullPath { get; set; }
3232
/// <summary>
33-
/// Path of the excutable for .lnk, or the URL for .url. Arguments are included if any.
33+
/// Path of the executable for .lnk, or the URL for .url. Arguments are included if any.
3434
/// </summary>
3535
public string LnkResolvedPath { get; set; }
3636
/// <summary>
37-
/// Path of the actual executable file.
37+
/// Path of the actual executable file. Args are included.
3838
/// </summary>
3939
public string ExecutablePath => LnkResolvedPath ?? FullPath;
4040
public string ParentDirectory { get; set; }
41+
/// <summary>
42+
/// Name of the executable for .lnk files
43+
/// </summary>
4144
public string ExecutableName { get; set; }
4245
public string Description { get; set; }
4346
public bool Valid { get; set; }
@@ -584,7 +587,6 @@ public static IEnumerable<T> DistinctBy<T, R>(IEnumerable<T> source, Func<T, R>
584587

585588
private static IEnumerable<Win32> ProgramsHasher(IEnumerable<Win32> programs)
586589
{
587-
// TODO: Unable to distinguish multiple lnks to the same excutable but with different params
588590
return programs.GroupBy(p => p.ExecutablePath.ToLowerInvariant())
589591
.AsParallel()
590592
.SelectMany(g =>

0 commit comments

Comments
 (0)