Update NSLGameScanner.py

This commit is contained in:
sysmoon14 2024-02-08 16:33:37 +00:00 committed by GitHub
parent 3f9ec86f01
commit b0f68b1e62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -502,6 +502,9 @@ if os.path.exists(os.path.join(compatdata_dir, 'NonSteamLaunchers')):
# Print the existing shortcuts
print("Existing Shortcuts:")
for shortcut in shortcuts['shortcuts'].values():
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')}")