mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2026-08-03 13:27:30 +03:00
Enhance game name resolution with case variations
Added additional checks for game name resolution using different case formats.
This commit is contained in:
@@ -5364,8 +5364,18 @@ if game_dict:
|
||||
elif game_key in ("seaofthieves", "sot", "scor"):
|
||||
game_key = "SCOR"
|
||||
|
||||
|
||||
game_name = flavor_mapping.get(game_key)
|
||||
|
||||
if not game_name:
|
||||
game_name = flavor_mapping.get(game_key.upper())
|
||||
|
||||
if not game_name:
|
||||
game_name = flavor_mapping.get(game_key.lower())
|
||||
|
||||
if not game_name:
|
||||
game_name = flavor_mapping.get(game_key.title())
|
||||
|
||||
if not game_name:
|
||||
print(f"Unknown game mapping: {game_key}, skipping")
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user