Skip to content

Commit b26d124

Browse files
authored
Merge pull request #1835 from tbertels/patch-1
Executable to lowercase to match the path case
2 parents 87e3450 + 80bb848 commit b26d124

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Squirrel/TrayHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public unsafe void RemoveDeadEntries(List<string> executablesInPackage, string r
103103
var path = item.ExePath.ToLowerInvariant();
104104

105105
// Someone completely unrelated? Keep it!
106-
if (!executablesInPackage.Any(exe => path.Contains(exe))) {
106+
if (!executablesInPackage.Any(exe => path.Contains(exe.ToLowerInvariant()))) {
107107
goto keepItem;
108108
}
109109

0 commit comments

Comments
 (0)