I’m on Nobara 42 and use the pre-installed Lutris.
I’m trying to use pre-launch and post-exit scripts with Lutris.
My script looks like this: echo "pre launch" > /home/me/Documents/lutris.txt
and creates the textfile when I run it manually.
I set the full path to the script in a game as a Pre-launch script and toggled Wait for pre-launch script completion to on.
The game just launches normally when I click play and the text-file is not created.
Can anyone tell me what I’m doing wrong?
Do you have space in the path of your script?
Is it executable?
There is no space in the path.
And it is executable, if I paste the exact line from the config-dialog into a terminal the script runs as expected and creates the text-file.
Just to be sure: this is a script, right? Sitting somewhere? Not just a command put directly in the config?
I think you might have to ask in https://github.com/lutris/lutris/issues I’m out of ideas