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')}")