mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Ignore case when finding game profile by process name
This commit is contained in:
@@ -202,7 +202,7 @@ namespace GHelper.AutoTDP
|
||||
|
||||
foreach (GameProfile gp in GameProfiles)
|
||||
{
|
||||
if (gp.ProcessName is not null && processName.EndsWith(gp.ProcessName))
|
||||
if (gp.ProcessName is not null && processName.EndsWith(gp.ProcessName, StringComparison.CurrentCultureIgnoreCase))
|
||||
{
|
||||
return gp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user