Skip to content

Commit

Permalink
Update NSLGameScanner.py
Browse files Browse the repository at this point in the history
  • Loading branch information
moraroy authored Aug 9, 2024
1 parent b90811f commit 5fa1995
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions NSLGameScanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5fa1995

Please sign in to comment.