Skip to content

Commit

Permalink
Merge pull request #1835 from tbertels/patch-1
Browse files Browse the repository at this point in the history
Executable to lowercase to match the path case
  • Loading branch information
anaisbetts authored Nov 12, 2022
2 parents 87e3450 + 80bb848 commit b26d124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Squirrel/TrayHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public unsafe void RemoveDeadEntries(List<string> executablesInPackage, string r
var path = item.ExePath.ToLowerInvariant();

// Someone completely unrelated? Keep it!
if (!executablesInPackage.Any(exe => path.Contains(exe))) {
if (!executablesInPackage.Any(exe => path.Contains(exe.ToLowerInvariant()))) {
goto keepItem;
}

Expand Down

0 comments on commit b26d124

Please sign in to comment.