mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
added log for the json info
This commit is contained in:
parent
e5153c06e0
commit
f62bc75eda
@ -1040,4 +1040,10 @@ if new_shortcuts_added or shortcuts_updated:
|
||||
|
||||
print("All finished!")
|
||||
|
||||
# Create the path to the output file
|
||||
output_file_path = f"{logged_in_home}/.config/systemd/user/NSLGameScanner_output.log"
|
||||
|
||||
# Open the output file in append mode
|
||||
with open(output_file_path, 'a') as output_file:
|
||||
# Print the shortcut information to the output file
|
||||
print(message, file=output_file, flush=True)
|
||||
|
Loading…
Reference in New Issue
Block a user