mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-30 11:41:50 +01:00
Update NSLGameScanner.py
This commit is contained in:
parent
579e43c613
commit
ce4470f917
@ -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\""
|
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/\""
|
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)
|
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()):
|
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.")
|
print(f"Existing shortcut found based on shortcut ID for game {game}. Skipping.")
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user