From 06f3fdb8e1e4a7c7c0680a72298ee4dea7d6503b Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Sat, 22 Jun 2024 21:10:03 -0700 Subject: [PATCH] Update NSLGameScanner.py --- NSLGameScanner.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NSLGameScanner.py b/NSLGameScanner.py index ded238d..9a8aca6 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -413,6 +413,9 @@ def create_new_entry(shortcutdirectory, appname, launchoptions, startingdir): exe_path = f"{shortcutdirectory}" signed_shortcut_id = get_steam_shortcut_id(exe_path, appname) unsigned_shortcut_id = get_unsigned_shortcut_id(signed_shortcut_id) + # Only store the app ID for specific launchers + if appname in ['Epic Games', 'Gog Galaxy', 'Ubisoft Connect', 'Battle.net', 'EA App', 'Amazon Games', 'itch.io', 'Legacy Games', 'Humble Bundle', 'IndieGala Client', 'Rockstar Games Launcher', 'Glyph', 'Playstation Plus', 'VK Play']: + app_ids[appname] = unsigned_shortcut_id # Check if the game already exists in the shortcuts if check_if_shortcut_exists(signed_shortcut_id, appname, exe_path, startingdir, launchoptions):