Jey123456
Member
- Joined
- Dec 22, 2009
- Messages
- 228
i edited the pnd_run.sh script to run ./pre.sh and ./post.sh scripts if they are found in the application root (pnd directly or appdata).
./pre.sh is executed before the actual application
./post.sh is executed once the application is gone
Thats a very small change (8 lines), and i know it could cause problem if an app use a script named ./pre.sh or ./post.sh in their root, but i doubt it will be much of an issue.
line 77 and 90 contain the changes.
to install it, backup /usr/pandora/scripts/pnd_run.sh then replace it with this one (or add the 8 lines yourself).
pnd_run.sh.gz
./pre.sh is executed before the actual application
./post.sh is executed once the application is gone
Thats a very small change (8 lines), and i know it could cause problem if an app use a script named ./pre.sh or ./post.sh in their root, but i doubt it will be much of an issue.
line 77 and 90 contain the changes.
to install it, backup /usr/pandora/scripts/pnd_run.sh then replace it with this one (or add the 8 lines yourself).
pnd_run.sh.gz
Attachments
Last edited by a moderator: