mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 23:31:52 +01:00
Merge pull request #196 from moraroy/main
bring WIP up to date with main
This commit is contained in:
commit
650c7d8a0f
@ -141,13 +141,7 @@ 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..."
|
||||||
PIPE_PATH="/tmp/NSLGameScanner_pipe"
|
python3 $python_script_path
|
||||||
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user