From ecf741bc5ff22dff0925fa5e71dc43daca9a8743 Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Fri, 16 Feb 2024 23:57:55 -0800 Subject: [PATCH] Re added pipe temporarily --- NonSteamLaunchers.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 97e1277..8b92a5a 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -141,7 +141,13 @@ if [ "$decky_plugin" = true ]; then if [ -f "$env_vars" ]; then # If the env_vars file exists, run the .py file and continue with the script echo "Decky Plugin argument set and env_vars file found. Running the .py file..." - python3 $python_script_path + PIPE_PATH="/tmp/NSLGameScanner_pipe" + + if [[ ! -p $PIPE_PATH ]]; then + mkfifo $PIPE_PATH + fi + + python3 $python_script_path > $PIPE_PATH echo "Python script ran. Continuing with the script..." else # If the env_vars file does not exist, exit the script