mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-01 23:35:59 +00:00
Fix Steam app detection if GFE gives us a lower-case path
This commit is contained in:
parent
b0d85abfa6
commit
8d4c7bd705
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user