mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-11-20 16:19:19 +01:00
Update NSLGameScanner.py
This commit is contained in:
parent
b90811f3ff
commit
5fa1995c6f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user