mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2025-01-09 16:39:30 +01:00
Update NSLGameScanner.py
This commit is contained in:
parent
29c846cb76
commit
5663a0b950
@ -1551,7 +1551,6 @@ if new_shortcuts_added or shortcuts_updated:
|
|||||||
except IOError as e:
|
except IOError as e:
|
||||||
print(f"Error writing to shortcuts.vdf: {e}")
|
print(f"Error writing to shortcuts.vdf: {e}")
|
||||||
|
|
||||||
|
|
||||||
# Print the created shortcuts
|
# Print the created shortcuts
|
||||||
if created_shortcuts:
|
if created_shortcuts:
|
||||||
print("Created Shortcuts:")
|
print("Created Shortcuts:")
|
||||||
@ -1559,7 +1558,7 @@ if new_shortcuts_added or shortcuts_updated:
|
|||||||
print(name)
|
print(name)
|
||||||
|
|
||||||
# Combine the names of created shortcuts into a single notification message
|
# Combine the names of created shortcuts into a single notification message
|
||||||
notification_text = "Added the following games to your Steam library, dont forget to restart steam!:\n" + "\n".join(created_shortcuts)
|
notification_text = "New games added! Restart Steam to apply:\n" + "\n".join(created_shortcuts)
|
||||||
|
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user