mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
Removed Pipe
This commit is contained in:
parent
3686a6323a
commit
bdc2ed7b12
@ -905,15 +905,6 @@ if amazon_games:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Push down when more scanners are added
|
|
||||||
#PipingInfoToDeckyPlugin
|
|
||||||
PIPE_PATH = "/tmp/NSLGameScanner_pipe"
|
|
||||||
|
|
||||||
# Check if the pipe does not exist
|
|
||||||
if not os.path.exists(PIPE_PATH):
|
|
||||||
# Create the named pipe
|
|
||||||
os.mkfifo(PIPE_PATH)
|
|
||||||
|
|
||||||
# Only write back to the shortcuts.vdf and config.vdf files if new shortcuts were added or compattools changed
|
# Only write back to the shortcuts.vdf and config.vdf files if new shortcuts were added or compattools changed
|
||||||
if new_shortcuts_added or shortcuts_updated:
|
if new_shortcuts_added or shortcuts_updated:
|
||||||
print(f"Saving new config and shortcuts files")
|
print(f"Saving new config and shortcuts files")
|
||||||
@ -1040,7 +1031,6 @@ if new_shortcuts_added or shortcuts_updated:
|
|||||||
# Print the shortcut information in JSON format
|
# Print the shortcut information in JSON format
|
||||||
message = json.dumps(shortcut_info)
|
message = json.dumps(shortcut_info)
|
||||||
print(message, flush=True) # Print to stdout
|
print(message, flush=True) # Print to stdout
|
||||||
pipe.write(message + '\n') # Write to the pipe
|
|
||||||
|
|
||||||
print("All finished!")
|
print("All finished!")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user