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
return
#Get artwork
game_id = get_game_id(appname)
if game_id is not None:
get_sgdb_art(game_id, unsigned_shortcut_id)
# Skip artwork download for specific shortcuts
if appname not in ['NonSteamLaunchers', 'Repair EA App']:
# Get artwork
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
compatTool= add_compat_tool(unsigned_shortcut_id, launchoptions)