Update NSLGameScanner.py

This commit is contained in:
Roy 2024-08-08 21:36:56 -07:00 committed by GitHub
parent b90811f3ff
commit 5fa1995c6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -450,10 +450,13 @@ def create_new_entry(shortcutdirectory, appname, launchoptions, startingdir):
shortcuts_updated = True shortcuts_updated = True
return return
#Get artwork # Skip artwork download for specific shortcuts
game_id = get_game_id(appname) if appname not in ['NonSteamLaunchers', 'Repair EA App']:
if game_id is not None: # Get artwork
get_sgdb_art(game_id, unsigned_shortcut_id) game_id = get_game_id(appname)
if game_id is not None:
get_sgdb_art(game_id, unsigned_shortcut_id)
# Create a new entry for the Steam shortcut # Create a new entry for the Steam shortcut
compatTool= add_compat_tool(unsigned_shortcut_id, launchoptions) compatTool= add_compat_tool(unsigned_shortcut_id, launchoptions)