From 8d4c7bd705adb3abcf07cd64429b0ad8ca880081 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 22 Sep 2019 10:31:23 -0700 Subject: [PATCH] Fix Steam app detection if GFE gives us a lower-case path --- Limelight/Network/AppListResponse.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Limelight/Network/AppListResponse.m b/Limelight/Network/AppListResponse.m index c0d9bd01..db9c6ba7 100644 --- a/Limelight/Network/AppListResponse.m +++ b/Limelight/Network/AppListResponse.m @@ -124,7 +124,7 @@ static const char* TAG_APP_INSTALL_PATH = "AppInstallPath"; TemporaryApp* officialSteamApp = nil; TemporaryApp* manuallyAddedSteamApp = nil; for (TemporaryApp* app in _appList) { - if (app.installPath != nil && [app.installPath hasSuffix:@"\\Steam\\"]) { + if (app.installPath != nil && [[app.installPath lowercaseString] hasSuffix:@"\\steam\\"]) { // The official Steam app is marked as HDR supported, while manually added ones are not. if ([app.name isEqualToString:@"Steam"] && app.hdrSupported) { officialSteamApp = app;