I have an app that was developed for Windows but runs fine on MacOS under mono without any modifications (yay!). However, since it's an exectutable, OSX doesn't recognize it as a native file type, meaning you have to drop to the command line to run 'mono appname.exe'. It also doesn't show the application icon. In case it matters, my test environment is Snow Leopard w/Mono 2.6.1.
As I understand it, in the Mac world, making a user drop to the command line is unconscionably rude. Is there a 'right way' to deploy a Mono app so that it can run by clicking on an icon -- perhaps the Mac equivalent of a shortcut if such a thing exists? I've heard of something called a 'bundle' but maybe those aren't for Mono/.NET apps.
So, is there a 'right way' to make running the app easier on a user?
Michael Hutchinson just wrote a great article on how to do this:
http://mjhutchinson.com/journal/2010/01/24/creating_mac_app_bundle_for_gtk_app
It helped me tremendously in trying to do exactly what you are doing.
Monobjc is the best route to go imo.
http://www.monobjc.net/
You could also run macpack from the command-line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With