Re added pipe temporarily

This commit is contained in:
Roy 2024-02-16 23:57:55 -08:00 committed by GitHub
parent e0ecc12aa9
commit ecf741bc5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -141,7 +141,13 @@ if [ "$decky_plugin" = true ]; then
if [ -f "$env_vars" ]; then if [ -f "$env_vars" ]; then
# If the env_vars file exists, run the .py file and continue with the script # 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..." 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..." echo "Python script ran. Continuing with the script..."
else else
# If the env_vars file does not exist, exit the script # If the env_vars file does not exist, exit the script