It's take me two afternoons to remember why I absolutely bloody loathe Macs. I've been allowed access to one just to get my software running under OSX. The process is simple. I run this command:
Simple. Mono is the miracle software which turns my Windows program into something that runs under OSX (or, incidentally, Linux).
What's not so simple is getting that working from a simple command.
There's supposedly a simply way of embedding everything into an 'app'. An app on Mac OSX looks like an icon but is really a directory. If you right click on many 'apps', you can ask to see their package contents, which are a number of directories containing all the files, graphics and other resource files. There's also a 'simple' way of telling the Mac to run a script inside that directory structure when you double click on the icon.
So, in theory: I create the directory structure. I tell the package to run 'launch' when it's been opened. 'Launch' is just a script containing 'mono thegagmachine.exe'.
And that'it. And what's more amazing is that it worked. Wonderful!
However, I needed to update my bundle (that's what you call this .app directory structure) with a newer version of my Windows exe file. So I duplicate the gag.app (which, remember is just a directory). In the copy, I replaced my exe file. Should be simple. When I double click on the script inside the .app structure, everything runs. So I guess the script is correct.
Only, when I click on the main icon, I now get nothing. Just a momentary bouncing icon and nothing more.
Two afternoons it's taken me and I seem to be getting further from the solution.
I hate Macs. Beautiful machines but even doing the simplest thing takes hours of research and a damn lot of luck.