From ce4470f917580d3016fb3f59d15b8a225072b3f8 Mon Sep 17 00:00:00 2001 From: sysmoon14 <61550824+sysmoon14@users.noreply.github.com> Date: Sun, 21 Jan 2024 22:08:41 +0000 Subject: [PATCH] Update NSLGameScanner.py --- NSLGameScanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NSLGameScanner.py b/NSLGameScanner.py index 5aadde0..66a7740 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -481,7 +481,7 @@ else: exe_path = f"\"{logged_in_home}/.local/share/Steam/Steam/steamapps/compatdata/{ubisoft_connect_launcher}/pfx/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/upc.exe\"" start_dir = f"\"{logged_in_home}/.local/share/Steam/Steam/steamapps/compatdata/{ubisoft_connect_launcher}/pfx/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/\"" shortcut_id = get_steam_shortcut_id(exe_path, game) - # Check if the game already exists in the shortcuts usong the id + # Check if the game already exists in the shortcuts using the id if any(s.get('appid') == str(shortcut_id) for s in shortcuts['shortcuts'].values()): print(f"Existing shortcut found based on shortcut ID for game {game}. Skipping.") continue