I have been playing with a concept whereby a small program (a sort of loader I suppose) can:-
Check if another program exists.
Check for latest md5 on a website.
Compare with the one on disk.
If different delete and download the new one.
Launch it and exit.
I got this working with Windows and Linux but I'm struggling a bit with Mac OSX.
On Windows and Linux the launcher doesn't have a form, but it also works just as well with a form that's hidden.
With MacOSX if I run the programs in a normal directory the second program runs but the user cannot interact with it (you can't click on anything).
If I compile the second program and put it into the bundle it runs and works, but, if I change it's name and put the launcher in there with the second program's original name, then clicking on the 2ndprogram.app icon doesn't run it.
Can you have two executables in a bundle with one that runs the other? Is there a better way to do this?
thanks, Philip