My doubt it’s pretty much at the title. it’s possible run more than one script at the function pre-launch script?
The most obvious way to do it is to write a script that runs multiple scripts. Like this one:
/path/to/script1 --args
/path/to/script2 --args "$@"
Or script1 && script2
, or script1 | script2
, depending on how you want to run them.
Alternatively, you can try putting the latter options in place of the script name (with any luck it’ll work; in this case, an inline equivalent of the first option would be to place ;
between script calls). Though unless the combination of commands is highly specific to that particular game, it’s better to write it down into a file. (Don’t forget to mark it as executable.)