mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 06:01:13 +00:00
Fix Steam app detection if GFE gives us a lower-case path
This commit is contained in:
@@ -124,7 +124,7 @@ static const char* TAG_APP_INSTALL_PATH = "AppInstallPath";
|
|||||||
TemporaryApp* officialSteamApp = nil;
|
TemporaryApp* officialSteamApp = nil;
|
||||||
TemporaryApp* manuallyAddedSteamApp = nil;
|
TemporaryApp* manuallyAddedSteamApp = nil;
|
||||||
for (TemporaryApp* app in _appList) {
|
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.
|
// The official Steam app is marked as HDR supported, while manually added ones are not.
|
||||||
if ([app.name isEqualToString:@"Steam"] && app.hdrSupported) {
|
if ([app.name isEqualToString:@"Steam"] && app.hdrSupported) {
|
||||||
officialSteamApp = app;
|
officialSteamApp = app;
|
||||||
|
|||||||
Reference in New Issue
Block a user