How to associate the ".exe" extension to be opened with Mono?

Posted by wuser on Super User See other posts from Super User or by wuser
Published on 2009-11-07T12:47:20Z Indexed on 2010/03/09 5:08 UTC
Read the original article Hit count: 348

Filed under:
|
|
|

I want to asssociate the .exe file extension to Mono (don't care about wine).

Apparently, when using Finder's GUI, only .app files (application bundles) can be selected. But the Mono executable (/Libraries/Frameworks/Mono.Framework/Current/bin/mono) is no such bundle.

I tried some AppleScript

on run this_file
 do shell script "mono this_file &"
end run

but Finder's GUI still doesn't allow to associate that with .exe's.

How to associate a specific file extension to a command-line application in Mac OS X?

© Super User or respective owner

Related posts about mac

Related posts about osx