From b0f68b1e62eaf7e01e2f4c6d301ef9338b0b306a Mon Sep 17 00:00:00 2001 From: sysmoon14 <61550824+sysmoon14@users.noreply.github.com> Date: Thu, 8 Feb 2024 16:33:37 +0000 Subject: [PATCH] Update NSLGameScanner.py --- NSLGameScanner.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NSLGameScanner.py b/NSLGameScanner.py index 1518417..a7f2cf2 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -502,7 +502,10 @@ if os.path.exists(os.path.join(compatdata_dir, 'NonSteamLaunchers')): # Print the existing shortcuts print("Existing Shortcuts:") for shortcut in shortcuts['shortcuts'].values(): - print(f"AppID for {shortcut.get('appname')}: {shortcut.get('appid')}") + if appname is None: + print(f"AppID for {shortcut.get('AppName')}: {shortcut.get('appid')}") + else: + print(f"AppID for {shortcut.get('appname')}: {shortcut.get('appid')}")