I've been informed that you can simply include the absolute path to the script, e.g. INSTALL_DIRECTORY/AppOpener.sh
as a line in .profile
(or a similar file). I tried and it works, that is exactly what I was looking for. Thank you David C. Rankin for the reply on Staging Ground.