I have a Mac OS X application in the standard .app format and was wondering what is the easiest way to have a small script execute before the main program does. Is that possible?
Edit:
I only want to run the script once, so if I can set a flag or something after it runs that would be great!
Second Edit:
I do not have the XCode project so I cannot recompile anything, which is why I'm looking for another method.